mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 14:25:13 +03:00
commit
0cf65326c7
8 changed files with 1331 additions and 202 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue