Skip to content

Commit

Permalink
Turn of commLED on error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesadevine committed Dec 18, 2018
1 parent 2ea04cc commit e75d756
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/JACDAC/JACDAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ void JACDAC::rxTimeout(Event)
status &= ~(JD_SERIAL_RECEIVING);
sws.setMode(SingleWireDisconnected);
configure(true);

if (commLED)
commLED->setDigitalValue(0);
}

JDPkt* JACDAC::popQueue(JDPkt** queue)
Expand Down

0 comments on commit e75d756

Please sign in to comment.