mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-27 04:55:53 +00: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