Skip to content

Commit

Permalink
Do not reboot OSD when it is not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
DzikuVx committed May 10, 2024
1 parent 30765ae commit 48a6551
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tabs/osd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3260,13 +3260,6 @@ TABS.osd.initialize = function (callback) {
console.log('save_to_eeprom');
MSP.send_message(MSPCodes.MSP_EEPROM_WRITE, false, false, function () {
GUI.log(i18n.getMessage('eepromSaved'));

GUI.tab_switch_cleanup(function () {
MSP.send_message(MSPCodes.MSP_SET_REBOOT, false, false, function () {
GUI.log(i18n.getMessage('deviceRebooting'));
GUI.handleReconnect($('.tab_osd a'));
});
});
});
}

Expand Down

0 comments on commit 48a6551

Please sign in to comment.