From 6f28153a3ffb480dba2f9770ac8118181ae30705 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Fri, 21 Jan 2022 11:24:46 -0800 Subject: [PATCH] port default audio_controls in 4.3 --- main/esp_app_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/esp_app_main.c b/main/esp_app_main.c index 443b7db5..aa29835f 100644 --- a/main/esp_app_main.c +++ b/main/esp_app_main.c @@ -481,7 +481,7 @@ void app_main() if(!is_recovery_running){ ESP_LOGD(TAG,"Getting audio control mapping "); - char *actrls_config = config_alloc_get_default(NVS_TYPE_STR, "actrls_config", NULL, 0); + char *actrls_config = config_alloc_get_default(NVS_TYPE_STR, "actrls_config", CONFIG_AUDIO_CONTROLS, 0); if (actrls_init(actrls_config) == ESP_OK) { ESP_LOGD(TAG,"Initializing audio control buttons type %s", actrls_config); } else {