File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -819,12 +819,16 @@ void tickerBegin()
819
819
}
820
820
}
821
821
822
- // Stop any ticker tasks
822
+ // Stop any ticker tasks and PWM control
823
823
void tickerStop ()
824
824
{
825
825
bluetoothLedTask.detach ();
826
826
gnssLedTask.detach ();
827
827
batteryLedTask.detach ();
828
+
829
+ ledcDetachPin (pin_bluetoothStatusLED);
830
+ ledcDetachPin (pin_gnssStatusLED);
831
+ ledcDetachPin (pin_batteryStatusLED);
828
832
}
829
833
830
834
// Configure the battery fuel gauge
Original file line number Diff line number Diff line change @@ -1364,6 +1364,11 @@ void buttonCheckTask(void *e)
1364
1364
// Beep if we are not locally compiled or a release candidate
1365
1365
if (ENABLE_DEVELOPER == false )
1366
1366
beepDurationMs (500 ); // Announce powering down
1367
+
1368
+ tickerStop (); // Stop controlling LEDs via ticker task
1369
+
1370
+ gnssStatusLedOn ();
1371
+ bluetoothLedOn ();
1367
1372
}
1368
1373
} // End productVariant == Torch
1369
1374
else // RTK EVK, RTK Facet v2, RTK Facet mosaic
You can’t perform that action at this time.
0 commit comments