refactor(ledc): remove deprecated LEDC_USE_RTC8M_CLK macro for v6.0

This commit is contained in:
Song Ruo Jing
2025-07-29 21:43:42 +08:00
parent f61e780f60
commit 48233e0e7e
58 changed files with 492 additions and 506 deletions

View File

@@ -496,11 +496,11 @@ static inline __attribute__((always_inline)) uint32_t clk_ll_cpu_get_divider(voi
}
/**
* @brief Select the calibration clock source for timergroup0
* @brief Select the frequency calculation clock source for timergroup0
*
* @param clk_sel One of the clock sources in soc_timg0_calibration_clk_src_t
* @param clk_sel One of the clock sources in soc_clk_freq_calculation_src_t
*/
static inline __attribute__((always_inline)) void clk_ll_calibration_set_target(soc_timg0_calibration_clk_src_t clk_sel)
static inline __attribute__((always_inline)) void clk_ll_freq_calulation_set_target(soc_clk_freq_calculation_src_t clk_sel)
{
switch (clk_sel) {
case CLK_CAL_RC_SLOW: