mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
allow configurable bootloader reboot character to workaround retarded BT adapters that spam 'R'
This commit is contained in:
parent
c0882fd863
commit
f336fc8d20
6 changed files with 3492 additions and 3437 deletions
|
@ -13,7 +13,7 @@ master_t mcfg; // master config struct with data independent from profiles
|
|||
config_t cfg; // profile config struct
|
||||
const char rcChannelLetters[] = "AERT1234";
|
||||
|
||||
static const uint8_t EEPROM_CONF_VERSION = 59;
|
||||
static const uint8_t EEPROM_CONF_VERSION = 60;
|
||||
static uint32_t enabledSensors = 0;
|
||||
static void resetConf(void);
|
||||
|
||||
|
@ -308,6 +308,9 @@ static void resetConf(void)
|
|||
cfg.nav_speed_max = 300;
|
||||
cfg.ap_mode = 40;
|
||||
|
||||
// control stuff
|
||||
mcfg.reboot_character = 'R';
|
||||
|
||||
// custom mixer. clear by defaults.
|
||||
for (i = 0; i < MAX_MOTORS; i++)
|
||||
mcfg.customMixer[i].throttle = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue