mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-11 05:57:05 +03:00
rmt helper to function
This commit is contained in:
@@ -95,7 +95,7 @@ void setup_rmt_data_buffer(struct led_state new_state);
|
||||
|
||||
void ws2812_control_init(void)
|
||||
{
|
||||
rmt_channel = RMT_NEXT_TX_CHANNEL;
|
||||
rmt_channel = RMT_NEXT_TX_CHANNEL();
|
||||
rmt_config_t config;
|
||||
config.rmt_mode = RMT_MODE_TX;
|
||||
config.channel = rmt_channel;
|
||||
|
||||
Reference in New Issue
Block a user