1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +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:
Dominic Clifton 2024-04-23 11:53:53 +02:00 committed by GitHub
parent 7bf3928f91
commit 8d1d8872d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -452,10 +452,6 @@ static void mspEvaluateNonMspData(mspPort_t * mspPort, uint8_t receivedChar)
#ifdef USE_CLI
} else if (receivedChar == '#') {
mspPort->pendingRequest = MSP_PENDING_CLI;
#endif
#if defined(USE_FLASH_BOOT_LOADER)
} else if (receivedChar == 'F') {
mspPort->pendingRequest = MSP_PENDING_BOOTLOADER_FLASH;
#endif
}
}