mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
LED strip update
This commit is contained in:
parent
1e7c0597a5
commit
0e5190edd3
8 changed files with 1331 additions and 202 deletions
|
@ -280,7 +280,6 @@ function onConnect() {
|
|||
dataflash.show();
|
||||
|
||||
startLiveDataRefreshTimer();
|
||||
|
||||
}
|
||||
|
||||
function onClosed(result) {
|
||||
|
@ -317,7 +316,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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue