1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

Backend for getting logic conditions from FC

This commit is contained in:
Pawel Spychalski (DzikuVx) 2019-03-10 14:39:32 +01:00
parent 3c7cf5fc47
commit d6ded2404e
8 changed files with 166 additions and 5 deletions

View file

@ -1,7 +1,7 @@
/*global $*/
'use strict';
var ServoMixRule = function (target, input, rate, speed, condition) {
let ServoMixRule = function (target, input, rate, speed, condition) {
var self = {};
@ -43,7 +43,7 @@ var ServoMixRule = function (target, input, rate, speed, condition) {
self.getConditionId = function () {
return (condition == undefined) ? -1 : condition;
}
};
self.setConditionId = function (data) {
condition = data;