mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Fix mission EEPROM load/save commands
This commit is contained in:
parent
594cad7d0b
commit
d1e31f4bdb
1 changed files with 2 additions and 2 deletions
|
@ -463,11 +463,11 @@ TABS.mission_control.initialize = function (callback) {
|
|||
}
|
||||
GUI.log(chrome.i18n.getMessage('eeprom_load_ok'));
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_WP_MISSION_LOAD, false, getPointsFromEprom);
|
||||
MSP.send_message(MSPCodes.MSP_WP_MISSION_LOAD, [0], getPointsFromEprom);
|
||||
});
|
||||
$('#saveEepromMissionButton').on('click', function () {
|
||||
GUI.log(chrome.i18n.getMessage('eeprom_saved_ok'));
|
||||
MSP.send_message(MSPCodes.MSP_WP_MISSION_SAVE, false, false);
|
||||
MSP.send_message(MSPCodes.MSP_WP_MISSION_SAVE, [0], false);
|
||||
});
|
||||
|
||||
$('#rthEndMission').on('change', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue