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

MSP Interface for Programming PID

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-12-24 23:47:08 +01:00
parent c046e53a13
commit 3188680793
6 changed files with 194 additions and 0 deletions

View file

@ -0,0 +1,33 @@
'use strict';
let ProgrammingPidCollection = function () {
let self = {},
data = [],
$container;
self.put = function (element) {
data.push(element);
};
self.get = function () {
return data;
};
self.flush = function () {
data = [];
};
self.getCount = function () {
return data.length
};
self.open = function () {
self.render();
$container.show();
};
return self;
};