ledvu small changes & update plugin

This commit is contained in:
philippe44
2023-08-14 17:14:54 -07:00
parent af8db69030
commit 4047fa2331
4 changed files with 7 additions and 7 deletions

View File

@@ -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;

View File

@@ -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);
esp_err_t config_ledvu_set(ledvu_struct_t * ledvu);

View File

@@ -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;

View File

@@ -1,13 +1,13 @@
<?xml version='1.0' standalone='yes'?>
<extensions>
<plugins>
<plugin version="0.353" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
<plugin version="0.360" name="SqueezeESP32" minTarget="7.9" maxTarget="*">
<link>https://github.com/sle118/squeezelite-esp32</link>
<creator>Philippe</creator>
<sha>357d715715e7bf10f83ad15bc3fd794fc45e9e5a</sha>
<sha>de9704f948ba5d09dba1e30c710e07a5896b9222</sha>
<email>philippe_44@outlook.com</email>
<desc lang="EN">SqueezeESP32 additional player id (100/101)</desc>
<url>http://github.com/sle118/squeezelite-esp32/raw/master-cmake/plugin/SqueezeESP32.zip</url>
<url>http://raw.githubusercontent.com/sle118/squeezelite-esp32/master-v4.3/plugin/SqueezeESP32.zip</url>
<title lang="EN">SqueezeESP32</title>
</plugin>
</plugins>