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

Merge pull request #28 from gaelj/LED_strip

LED strip update
This commit is contained in:
Konstantin Sharlaimov 2016-07-24 10:49:14 +03:00 committed by GitHub
commit 0cf65326c7
8 changed files with 1331 additions and 202 deletions

View file

@ -279,7 +279,6 @@ function onConnect() {
dataflash.show();
startLiveDataRefreshTimer();
}
function onClosed(result) {
@ -316,7 +315,7 @@ function read_serial(info) {
function sensor_status(sensors_detected) {
// initialize variable (if it wasn't)
if (!sensor_status.previous_sensors_detected) {
sensor_status.previous_sensors_detected = 0;
sensor_status.previous_sensors_detected = -1; // Otherwise first iteration will not be run if sensors_detected == 0
}
// update UI (if necessary)