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 f596b58 commit c755948Copy full SHA for c755948
cores/esp32/esp32-hal-cpu.c
@@ -250,8 +250,6 @@ bool setCpuFrequencyMhz(uint32_t cpu_freq_mhz) {
250
//Update esp_timer divisor
251
#if defined(LACT_MODULE) && defined(LACT_TICKS_PER_US)
252
timer_ll_set_lact_clock_prescale(TIMER_LL_GET_HW(LACT_MODULE), apb / MHZ / LACT_TICKS_PER_US);
253
-#elif !defined(CONFIG_IDF_TARGET_ESP32S2)
254
- esp_timer_impl_update_apb_freq(apb / MHZ);
255
#endif
256
}
257
0 commit comments