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:
parent
b9358083d9
commit
3caf2d8ff5
6 changed files with 72 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue