refactor(clk): deprecate rtc_cal_sel_t enum

This commit is contained in:
Song Ruo Jing
2025-07-29 21:26:42 +08:00
parent 2b01b7c6f8
commit f61e780f60
63 changed files with 331 additions and 472 deletions

View File

@@ -109,7 +109,7 @@ static int64_t test_periodic_timer_accuracy_on_dfs(esp_timer_handle_t timer)
{
// Calibrate slow clock.
#if !CONFIG_ESP_SYSTEM_RTC_EXT_XTAL
esp_clk_slowclk_cal_set(rtc_clk_cal(RTC_CAL_RTC_MUX, 8192));
esp_clk_slowclk_cal_set(rtc_clk_cal(CLK_CAL_RTC_SLOW, 8192));
#endif
ESP_ERROR_CHECK(esp_timer_start_periodic(timer, ALARM_PERIOD_MS * 1000));