From 4047fa2331e87560dfe27e215e53c2b58f4e56a1 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Mon, 14 Aug 2023 17:14:54 -0700 Subject: [PATCH] ledvu small changes & update plugin --- components/led_strip/led_vu.c | 4 ++-- components/services/accessors.h | 2 +- components/squeezelite/external/dac_external.c | 2 +- plugin/repo.xml | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/led_strip/led_vu.c b/components/led_strip/led_vu.c index 57098da0..78eeafd6 100644 --- a/components/led_strip/led_vu.c +++ b/components/led_strip/led_vu.c @@ -39,14 +39,14 @@ static const char *TAG = "led_vu"; #define max(a,b) (((a) > (b)) ? (a) : (b)) struct led_strip_t* led_display = NULL; -static struct led_strip_t led_strip_config = { +static EXT_RAM_ATTR struct led_strip_t led_strip_config = { .rgb_led_type = RGB_LED_TYPE_WS2812, .rmt_channel = RMT_CHANNEL_1, .rmt_interrupt_num = LED_VU_RMT_INTR_NUM, .gpio = GPIO_NUM_22, }; -static struct { +static EXT_RAM_ATTR struct { int gpio; int length; int vu_length; diff --git a/components/services/accessors.h b/components/services/accessors.h index 8e480c50..5382239e 100644 --- a/components/services/accessors.h +++ b/components/services/accessors.h @@ -123,4 +123,4 @@ bool are_statistics_enabled(); const rotary_struct_t * config_rotary_get(); esp_err_t config_rotary_set(rotary_struct_t * rotary); const ledvu_struct_t * config_ledvu_get(); -esp_err_t config_ledvu_set(ledvu_struct_t * rotary); \ No newline at end of file +esp_err_t config_ledvu_set(ledvu_struct_t * ledvu); \ No newline at end of file diff --git a/components/squeezelite/external/dac_external.c b/components/squeezelite/external/dac_external.c index fd72c00c..ab5c3730 100644 --- a/components/squeezelite/external/dac_external.c +++ b/components/squeezelite/external/dac_external.c @@ -32,7 +32,7 @@ const struct adac_s dac_external = { "i2s", init, adac_deinit, power, speaker, h static cJSON *i2c_json; static int i2c_addr; -static struct { +static const struct { char *model; bool mclk; char *controlset; diff --git a/plugin/repo.xml b/plugin/repo.xml index e25ae363..9f57fc97 100644 --- a/plugin/repo.xml +++ b/plugin/repo.xml @@ -1,13 +1,13 @@ - + https://github.com/sle118/squeezelite-esp32 Philippe - 357d715715e7bf10f83ad15bc3fd794fc45e9e5a + de9704f948ba5d09dba1e30c710e07a5896b9222 philippe_44@outlook.com SqueezeESP32 additional player id (100/101) - http://github.com/sle118/squeezelite-esp32/raw/master-cmake/plugin/SqueezeESP32.zip + http://raw.githubusercontent.com/sle118/squeezelite-esp32/master-v4.3/plugin/SqueezeESP32.zip SqueezeESP32