Skip to content

Commit 9c098ad

Browse files
authored
Merge pull request #572 from LeeLeahy2/yellow-led-off
After hop timer wait blink time then turn off the yellow LED
2 parents 2ebf7df + 546da66 commit 9c098ad

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Firmware/LoRaSerial/System.ino

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -985,8 +985,7 @@ void multiPointLeds()
985985
blinkRadioRssiLed();
986986

987987
//Update the hop LED
988-
if ((millis() - radioCallHistory[RADIO_CALL_hopChannel]) >= RADIO_USE_BLINK_MILLIS)
989-
digitalWrite(YELLOW_LED, LED_OFF);
988+
blinkChannelHopLed(false);
990989

991990
//Update the HEARTBEAT LED
992991
blinkHeartbeatLed(false);
@@ -1006,8 +1005,7 @@ void p2pLeds()
10061005
//Leave the LINK LED (GREEN_LED_2) off
10071006

10081007
//Update the hop LED
1009-
if ((millis() - radioCallHistory[RADIO_CALL_hopChannel]) >= RADIO_USE_BLINK_MILLIS)
1010-
digitalWrite(YELLOW_LED, LED_OFF);
1008+
blinkChannelHopLed(false);
10111009

10121010
//Update the HEARTBEAT LED
10131011
blinkHeartbeatLed(false);
@@ -1049,8 +1047,7 @@ void vcLeds()
10491047
//Serial RX displayed on the LINK LED (GREEN_LED_2) by blinkSerialRxLed
10501048

10511049
//Update the hop LED
1052-
if ((millis() - radioCallHistory[RADIO_CALL_hopChannel]) >= RADIO_USE_BLINK_MILLIS)
1053-
digitalWrite(YELLOW_LED, LED_OFF);
1050+
blinkChannelHopLed(false);
10541051

10551052
//Update the HEARTBEAT LED
10561053
blinkHeartbeatLed(false);

0 commit comments

Comments
 (0)