fix endings

This commit is contained in:
Wizmo2
2023-09-15 20:15:53 -04:00
parent 3350a8dbc7
commit 7f0b411dac
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ struct led_strip_t {
// RMT peripheral settings // RMT peripheral settings
rmt_channel_t rmt_channel; rmt_channel_t rmt_channel;
gpio_num_t gpio; // Must be less than GPIO_NUM_33 gpio_num_t gpio; // Must be less than GPIO_NUM_33
struct led_color_t *led_strip_working; struct led_color_t *led_strip_working;

View File

@@ -100,7 +100,7 @@ void led_vu_init()
led_strip_config.led_strip_showing = heap_caps_malloc(strip.length * sizeof(struct led_color_t), MALLOC_CAP_8BIT); led_strip_config.led_strip_showing = heap_caps_malloc(strip.length * sizeof(struct led_color_t), MALLOC_CAP_8BIT);
led_strip_config.gpio = strip.gpio; led_strip_config.gpio = strip.gpio;
led_strip_config.rmt_channel = rmt_system_base_channel++; led_strip_config.rmt_channel = rmt_system_base_channel++;
// initialize driver // initialize driver
bool led_init_ok = led_strip_init(&led_strip_config); bool led_init_ok = led_strip_init(&led_strip_config);
if (led_init_ok) { if (led_init_ok) {