Merge branch 'contrib/github_pr_17422' into 'master'

fix: I2C driver should use I2C_CLK_SRC_REF_TICK e (GitHub PR)

Closes IDFGH-16266

See merge request espressif/esp-idf!41188
This commit is contained in:
morris
2025-08-27 11:04:46 +08:00

View File

@@ -761,7 +761,7 @@ static uint32_t s_get_src_clk_freq(i2c_clock_source_t clk_src)
break; break;
#endif #endif
#if SOC_I2C_SUPPORT_REF_TICK #if SOC_I2C_SUPPORT_REF_TICK
case RMT_CLK_SRC_REF_TICK: case I2C_CLK_SRC_REF_TICK:
periph_src_clk_hz = REF_CLK_FREQ; periph_src_clk_hz = REF_CLK_FREQ;
break; break;
#endif #endif