mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-05 00:30:16 +01:00
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.
25 KiB
25 KiB