mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
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.