rmt helper to function

This commit is contained in:
Wizmo2
2023-09-28 07:34:58 -04:00
parent 60bd591bf8
commit f33cb569ce
5 changed files with 6 additions and 6 deletions

View File

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