1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00
Commit graph

2 commits

Author SHA1 Message Date
Bruce Luckcuck
e9d498e77a Check that flash device is selected for blackbox before msc CLI reboot
Previously the logic would only validate whether one or more of the defined flash device types was ready and not examine the user selected blackbox device. Then on reboot during `mscStart()` the logic there would use the selected blackbox device type to decide which mode to operate in. If a flash device wasn't selected the msc initialization failed (like if serial port or "no logging" were selected).

This change only checks the status of the selected blackbox device to ensure that a reboot will properly start mass storage mode.
2019-01-12 17:12:08 -05:00
mikeller
df55fc99ec Added MSP for reboot to MSC. 2018-07-17 18:34:06 +12:00