Skip to content

Commit bd33da5

Browse files
committed
added logic - if lorawan connected at end of startup, trigger a log event
1 parent 6f877da commit bd33da5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,8 @@ bool sfeIoTNodeLoRaWAN::onStart()
441441

442442
sfeLED.off();
443443

444+
if (_loraWANConnection.isConnected())
445+
_logger.logObservation();
444446
return true;
445447
}
446448

0 commit comments

Comments
 (0)