fix: I2C driver should use I2C_CLK_SRC_REF_TICK enum

This commit is contained in:
Darian Leung
2025-08-12 15:56:22 +08:00
parent 4e036983a7
commit cc48f7c67d

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