1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-15 12:25:13 +03:00

tab tasks unified

This commit is contained in:
Pawel Spychalski (DzikuVx) 2017-01-18 16:50:35 +01:00
parent d1fcb81017
commit d1483e5e26
18 changed files with 46 additions and 99 deletions

View file

@ -53,6 +53,7 @@ var mspHelper = (function (gui) {
CONFIG.capability = data.getUint32(3, true);
break;
case MSPCodes.MSP_STATUS:
console.log('Using deprecated msp command: MSP_STATUS');
CONFIG.cycleTime = data.getUint16(0, true);
CONFIG.i2cError = data.getUint16(2, true);
CONFIG.activeSensors = data.getUint16(4, true);
@ -86,6 +87,7 @@ var mspHelper = (function (gui) {
sensor_status(CONFIG.activeSensors);
}
gui.updateStatusBar();
gui.updateProfileChange();
break;
case MSPCodes.MSP_SENSOR_STATUS: