diff --git a/components/codecs/CMakeLists.txt b/components/codecs/CMakeLists.txt index c38196f2..85438ca9 100644 --- a/components/codecs/CMakeLists.txt +++ b/components/codecs/CMakeLists.txt @@ -1,5 +1,5 @@ idf_component_register( - INCLUDE_DIRS . ./inc inc/alac inc/FLAC inc/helix-aac inc/mad inc/ogg inc/opus inc/opusfile inc/resample16 inc/soxr inc/vorbis + INCLUDE_DIRS . ./inc inc/alac inc/FLAC inc/helix-aac inc/mad inc/ogg inc/opus inc/opusfile inc/resample16 inc/soxr inc/vorbis ) if (DEFINED AAC_DISABLE_SBR) diff --git a/components/platform_config/CMakeLists.txt b/components/platform_config/CMakeLists.txt index 117dbbff..ef404a36 100644 --- a/components/platform_config/CMakeLists.txt +++ b/components/platform_config/CMakeLists.txt @@ -1,6 +1,6 @@ idf_component_register( SRC_DIRS . INCLUDE_DIRS . - PRIV_REQUIRES tools newlib console esp_common freertos + PRIV_REQUIRES tools newlib console esp_common freertos REQUIRES nvs_flash json ) diff --git a/components/raop/raop_sink.c b/components/raop/raop_sink.c index 51356d12..502c8b35 100644 --- a/components/raop/raop_sink.c +++ b/components/raop/raop_sink.c @@ -183,7 +183,7 @@ static bool raop_sink_start(raop_cmd_vcb_t cmd_cb, raop_data_cb_t data_cb) { ESP_ERROR_CHECK( mdns_hostname_set(hostname) ); char * sink_name_buffer= (char *)config_alloc_get(NVS_TYPE_STR,"airplay_name"); - if(sink_name_buffer != NULL){ + if (sink_name_buffer != NULL){ memset(sink_name, 0x00, sizeof(sink_name)); strncpy(sink_name,sink_name_buffer,sizeof(sink_name)-1 ); free(sink_name_buffer); @@ -218,7 +218,7 @@ void raop_sink_init(raop_cmd_vcb_t cmd_cb, raop_data_cb_t data_cb) { raop_cbs.data = data_cb; TimerHandle_t timer = xTimerCreate("raopStart", 5000 / portTICK_RATE_MS, pdTRUE, NULL, raop_start_handler); xTimerStart(timer, portMAX_DELAY); - LOG_INFO( "delaying AirPlay start"); + LOG_INFO( "Delaying AirPlay start"); } } diff --git a/components/services/buttons.c b/components/services/buttons.c index d734dec7..2d6e0ce1 100644 --- a/components/services/buttons.c +++ b/components/services/buttons.c @@ -47,7 +47,8 @@ static EXT_RAM_ATTR struct button_s { TimerHandle_t timer; } buttons[MAX_BUTTONS]; -static EXT_RAM_ATTR struct { +// can't use EXT_RAM_ATTR for initialized structure +static struct { int gpio, level; struct button_s *button; } polled_gpio[] = { {36, -1, NULL}, {39, -1, NULL}, {-1, -1, NULL} };