mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2026-01-27 21:00:57 +03:00
ledvu small changes & update plugin
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user