wait for cleanup callback, then reboot
parent
bfb6e17187
commit
57b4e3cafa
|
@ -164,9 +164,10 @@ TABS.initial_setup.initialize = function (callback) {
|
|||
|
||||
function reboot() {
|
||||
GUI.log(chrome.i18n.getMessage('initialSetupEepromSaved'));
|
||||
GUI.tab_switch_cleanup();
|
||||
|
||||
MSP.send_message(MSP_codes.MSP_SET_REBOOT, false, false, reinitialize);
|
||||
GUI.tab_switch_cleanup(function() {
|
||||
MSP.send_message(MSP_codes.MSP_SET_REBOOT, false, false, reinitialize);
|
||||
});
|
||||
}
|
||||
|
||||
function reinitialize() {
|
||||
|
|
Loading…
Reference in New Issue