1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

[G4] CLI and config changes for overclocking

This commit is contained in:
jflyper 2019-09-26 20:44:17 +09:00
parent 575460ac52
commit 08f1f91c50
5 changed files with 10 additions and 9 deletions

View file

@ -529,8 +529,9 @@ void init(void)
}
#endif
#ifdef STM32F4
// Only F4 has non-8MHz boards
#if defined(STM32F4) || defined(STM32G4)
// F4 has non-8MHz boards
// G4 for Betaflight allow 24 or 27MHz oscillator
systemClockSetHSEValue(systemConfig()->hseMhz * 1000000U);
#endif