Skip to content

Commit e44e5d0

Browse files
committed
Add tickerStop()
1 parent ed33370 commit e44e5d0

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

Firmware/RTK_Everywhere/Begin.ino

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ void beginBoard()
167167

168168
pin_beeper = 33;
169169

170-
pin_loraRadio_power = 19; //LoRa_EN
171-
pin_loraRadio_boot = 23; //LoRa_BOOT0
172-
pin_loraRadio_reset = 5; //LoRa_NRST
170+
pin_loraRadio_power = 19; // LoRa_EN
171+
pin_loraRadio_boot = 23; // LoRa_BOOT0
172+
pin_loraRadio_reset = 5; // LoRa_NRST
173173

174174
DMW_if systemPrintf("pin_bluetoothStatusLED: %d\r\n", pin_bluetoothStatusLED);
175175
pinMode(pin_bluetoothStatusLED, OUTPUT);
@@ -819,6 +819,14 @@ void tickerBegin()
819819
}
820820
}
821821

822+
//Stop any ticker tasks
823+
void tickerStop()
824+
{
825+
bluetoothLedTask.detach();
826+
gnssLedTask.detach();
827+
batteryLedTask.detach();
828+
}
829+
822830
// Configure the battery fuel gauge
823831
void beginFuelGauge()
824832
{

0 commit comments

Comments
 (0)