mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-20 06:45:12 +03:00
Check selected blackbox device before allowing mass storage reboot
This is the Configurator side check to go along with the firmware CLI check before rebooting into mass storage mode.
This commit is contained in:
parent
52732511ac
commit
e85a91027b
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
}).change();
|
}).change();
|
||||||
|
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
|
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
|
||||||
if (SDCARD.supported || DATAFLASH.supported) {
|
if ((SDCARD.supported && deviceSelect.val() == 2) || (DATAFLASH.supported && deviceSelect.val() == 1)) {
|
||||||
|
|
||||||
$(".tab-onboard_logging")
|
$(".tab-onboard_logging")
|
||||||
.toggleClass("msc-supported", true);
|
.toggleClass("msc-supported", true);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue