1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

Moved MSC button to blackbox tab.

This commit is contained in:
mikeller 2018-07-18 01:00:12 +12:00
parent b9358083d9
commit 3caf2d8ff5
6 changed files with 72 additions and 20 deletions

View file

@ -73,15 +73,8 @@ TABS.setup.initialize = function (callback) {
buffer.push(1);
MSP.send_message(MSPCodes.MSP_SET_REBOOT, buffer, false);
});
$('a.rebootMsc').click(function () {
var buffer = [];
buffer.push(2);
MSP.send_message(MSPCodes.MSP_SET_REBOOT, buffer, false);
});
} else {
$('.initialSetupRebootBootloader').hide();
$('.initialSetupRebootMsc').hide();
}
// UI Hooks