mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 12:50:49 +03:00
no EXTRAM attribute + cosmetics - release
This commit is contained in:
@@ -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;
|
raop_cbs.data = data_cb;
|
||||||
TimerHandle_t timer = xTimerCreate("raopStart", 5000 / portTICK_RATE_MS, pdTRUE, NULL, raop_start_handler);
|
TimerHandle_t timer = xTimerCreate("raopStart", 5000 / portTICK_RATE_MS, pdTRUE, NULL, raop_start_handler);
|
||||||
xTimerStart(timer, portMAX_DELAY);
|
xTimerStart(timer, portMAX_DELAY);
|
||||||
LOG_INFO( "delaying AirPlay start");
|
LOG_INFO( "Delaying AirPlay start");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,8 @@ static EXT_RAM_ATTR struct button_s {
|
|||||||
TimerHandle_t timer;
|
TimerHandle_t timer;
|
||||||
} buttons[MAX_BUTTONS];
|
} buttons[MAX_BUTTONS];
|
||||||
|
|
||||||
static EXT_RAM_ATTR struct {
|
// can't use EXT_RAM_ATTR for initialized structure
|
||||||
|
static struct {
|
||||||
int gpio, level;
|
int gpio, level;
|
||||||
struct button_s *button;
|
struct button_s *button;
|
||||||
} polled_gpio[] = { {36, -1, NULL}, {39, -1, NULL}, {-1, -1, NULL} };
|
} polled_gpio[] = { {36, -1, NULL}, {39, -1, NULL}, {-1, -1, NULL} };
|
||||||
|
|||||||
Reference in New Issue
Block a user