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

Added detection of soft reset and swich of bind mode

after first hard reset (power on) if hardware bind plug is not
configured. Now completly tested.
This commit is contained in:
Michael Jakob 2014-12-06 17:43:26 +01:00 committed by Dominic Clifton
parent c09877e5b9
commit 1be3e8e550
4 changed files with 35 additions and 2 deletions

View file

@ -30,6 +30,7 @@ void failureMode(uint8_t mode);
// bootloader/IAP
void systemReset(void);
void systemResetToBootloader(void);
bool isMPUSoftReset(void);
void enableGPIOPowerUsageAndNoiseReductions(void);
// current crystal frequency - 8 or 12MHz