1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +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

@ -4673,8 +4673,8 @@ static void cliStatus(const char *cmdName, char *cmdline)
cliPrintf("MCU %s Clock=%dMHz", getMcuTypeById(getMcuTypeId()), (SystemCoreClock / 1000000));
#ifdef STM32F4
// Only F4 is capable of switching between HSE/HSI (for now)
#if defined(STM32F4) || defined(STM32G4)
// Only F4 and G4 is capable of switching between HSE/HSI (for now)
int sysclkSource = SystemSYSCLKSource();
const char *SYSCLKSource[] = { "HSI", "HSE", "PLLP", "PLLR" };