7c584e80b0
RTC_FAST_CLK_FREQ_APPROX is defined as 8500000, so 0.5MHz part was lost when dividing by MHZ. Since cal_val is 64-bit the parens can be removed. With 40MHz XTAL for a nominal ESP32 chip, this fixes estimated XTAL frequency from 38 to 40MHz. |
||
---|---|---|
.. | ||
include/soc | ||
test | ||
cpu_util.c | ||
i2c_apll.h | ||
i2c_bbpll.h | ||
i2c_rtc_clk.h | ||
rtc_clk.c | ||
rtc_init.c | ||
rtc_pm.c | ||
rtc_sleep.c | ||
rtc_time.c | ||
soc_log.h | ||
soc_memory_layout.c |