We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4552f18 commit f690fd3Copy full SHA for f690fd3
ports/esp32/machine_timer.c
@@ -137,8 +137,12 @@ STATIC void machine_timer_isr(void *self_in) {
137
#if CONFIG_IDF_TARGET_ESP32
138
device->hw_timer[self->index].update = 1;
139
#else
140
+ #if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)
141
+ device->hw_timer[self->index].update.tx_update = 1;
142
+ #else
143
device->hw_timer[self->index].update.update = 1;
144
#endif
145
+ #endif
146
timer_ll_clear_intr_status(device, self->index);
147
timer_ll_set_alarm_enable(device, self->index, self->repeat);
148
0 commit comments