From 48a6551a9efe730299cdf53941955da8b16e0b02 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Fri, 10 May 2024 14:24:43 +0200 Subject: [PATCH] Do not reboot OSD when it is not necessary --- tabs/osd.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tabs/osd.js b/tabs/osd.js index c0ce01f56..5ffca961e 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -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')); - }); - }); }); }