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:
parent
3c7cf5fc47
commit
d6ded2404e
8 changed files with 166 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue