mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Remove functionality to enter flash bootloader by sending 'F' on a UART configued for MSP. (#13572)
Remove functionality to enter flash bootloader by sending 'F' on a UART configured for MSP. * The proper way to reboot to the boot loader is by sending an MSP_REBOOT command.
This commit is contained in:
parent
7bf3928f91
commit
8d1d8872d6
1 changed files with 0 additions and 4 deletions
|
@ -452,10 +452,6 @@ static void mspEvaluateNonMspData(mspPort_t * mspPort, uint8_t receivedChar)
|
||||||
#ifdef USE_CLI
|
#ifdef USE_CLI
|
||||||
} else if (receivedChar == '#') {
|
} else if (receivedChar == '#') {
|
||||||
mspPort->pendingRequest = MSP_PENDING_CLI;
|
mspPort->pendingRequest = MSP_PENDING_CLI;
|
||||||
#endif
|
|
||||||
#if defined(USE_FLASH_BOOT_LOADER)
|
|
||||||
} else if (receivedChar == 'F') {
|
|
||||||
mspPort->pendingRequest = MSP_PENDING_BOOTLOADER_FLASH;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue