|
|
@ -44,8 +44,20 @@ TABS.programming.initialize = function (callback, scrollPosition) {
|
|
|
|
saveChainer.execute();
|
|
|
|
saveChainer.execute();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (semver.gte(CONFIG.flightControllerVersion, "2.3.0")) {
|
|
|
|
|
|
|
|
helper.mspBalancedInterval.add('logic_conditions_pull', 350, 1, getLogicConditionsStatus);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GUI.content_ready(callback);
|
|
|
|
GUI.content_ready(callback);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function getLogicConditionsStatus() {
|
|
|
|
|
|
|
|
mspHelper.loadSensorStatus(onStatusPullDone);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function onStatusPullDone() {
|
|
|
|
|
|
|
|
LOGIC_CONDITIONS.update(LOGIC_CONDITIONS_STATUS);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
TABS.programming.cleanup = function (callback) {
|
|
|
|
TABS.programming.cleanup = function (callback) {
|
|
|
|