diff --git a/firmware/hw_layer/ports/stm32/osc_detector.cpp b/firmware/hw_layer/ports/stm32/osc_detector.cpp index a364d2fd97..039cc9f402 100644 --- a/firmware/hw_layer/ports/stm32/osc_detector.cpp +++ b/firmware/hw_layer/ports/stm32/osc_detector.cpp @@ -177,7 +177,7 @@ void OscDetector() { disableTimer(); float hseFrequencyHz = 10 * rtcpreDivider * STM32_TIMCLK2 / hseCounts; - + hseFrequencyMhz = hseFrequencyHz / 1e6; autoDetectedRoundedMhz = ((int)hseFrequencyHz + (1e6 / 2)) / 1e6; reprogramPll(autoDetectedRoundedMhz);