1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

Add F4 overclock possibility

F4 overclock activation via CLI and not automaticaly when Gyro 32k is activated

Add condition in target file to alow overclock

Replace ALLOW_OVERCLOCK by DISABLE_OVERCLOCK

Remanant flag and soft reboot for overclocking
This commit is contained in:
Faduf 2017-06-25 20:01:00 +02:00
parent 5112ffd4d1
commit 1c2eb3f731
7 changed files with 121 additions and 8 deletions

View file

@ -72,6 +72,9 @@ typedef struct systemConfig_s {
uint8_t activeRateProfile;
uint8_t debug_mode;
uint8_t task_statistics;
#if defined(STM32F4) && !defined(DISABLE_OVERCLOCK)
uint8_t cpu_overclock;
#endif
char name[MAX_NAME_LENGTH + 1]; // FIXME misplaced, see PG_PILOT_CONFIG in CF v1.x
} systemConfig_t;
#endif