Skip to content

Update bt_app_av.c#3

Open
Tonymac32 wants to merge 1 commit intoYetAnotherElectronicsChannel:masterfrom
Tonymac32:patch-1
Open

Update bt_app_av.c#3
Tonymac32 wants to merge 1 commit intoYetAnotherElectronicsChannel:masterfrom
Tonymac32:patch-1

Conversation

@Tonymac32
Copy link

The demo increases the volume every so many seconds, remove that "feature"

The demo increases the volume every so many seconds, remove that "feature"
@MARKANDEY-MAITHANI
Copy link

tatic void volume_change_simulation(void *arg)
{
ESP_LOGI(BT_RC_TG_TAG, "start volume change simulation");

for (;;) {
    /* volume up locally every 10 seconds */
    vTaskDelay(10000 / portTICK_RATE_MS);
     uint8_t volume = (s_volume + 5) & 0x7f;    /// 
    volume_set_by_local_host(volume);
}

}
In this line do not add anything with s_volume
like uint8_t volume = s_volume & 0x7f;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants