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:
parent
575460ac52
commit
08f1f91c50
5 changed files with 10 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue