1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

Add ability to read Programming PID status via MSP

This commit is contained in:
Pawel Spychalski (DzikuVx) 2021-02-21 11:20:19 +01:00
parent 561b288919
commit 0d66fd4c54
6 changed files with 63 additions and 6 deletions

View file

@ -0,0 +1,33 @@
'use strict';
let ProgrammingPidStatus = function () {
let self = {},
data = [];
self.set = function (condition, value) {
data[condition] = value;
}
self.get = function (condition) {
if (typeof data[condition] !== 'undefined') {
return data[condition];
} else {
return null;
}
}
self.getAll = function() {
return data;
}
self.update = function ($container) {
}
self.init = function ($container) {
}
return self;
};