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.
10.5.x-maintenance
Bruce Luckcuck 2019-01-12 19:25:51 -05:00
parent 52732511ac
commit e85a91027b
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ TABS.onboard_logging.initialize = function (callback) {
}).change();
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")
.toggleClass("msc-supported", true);