Fix compile warning (#21411)

This commit is contained in:
Theo Arends 2024-05-15 15:54:18 +02:00
parent 17a299dd00
commit 1d7f3e8f07
1 changed files with 2 additions and 1 deletions

View File

@ -2738,7 +2738,8 @@ struct SML_COUNTER {
uint8_t sml_counter_pinstate;
uint8_t sml_cnt_index[MAX_COUNTERS] = { 0, 1, 2, 3 };
void IRAM_ATTR SML_CounterIsr(void *arg) {
void IRAM_ATTR SML_CounterIsr(void *arg);
void SML_CounterIsr(void *arg) {
uint32_t index = *static_cast<uint8_t*>(arg);
uint32_t time = millis();