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

Show PID output in GUI

This commit is contained in:
Pawel Spychalski (DzikuVx) 2021-04-05 16:06:03 +02:00
parent 0101ee329d
commit f320aa4f02
3 changed files with 20 additions and 0 deletions

View file

@ -44,5 +44,15 @@ let ProgrammingPidCollection = function () {
GUI.switchery();
};
self.update = function(statuses) {
let $table = $container.find(".pid__table")
for (let k in self.get()) {
if (self.get().hasOwnProperty(k)) {
self.get()[k].update(k, statuses.get(k), $table);
}
}
}
return self;
};