lnlp / LMIC-node

LMIC-node | One example to rule them all. LMIC-node is an example LoRaWAN application for a node that can be used with The Things Network. It demonstrates how to send uplink messages, how to receive downlink messages, how to implement a downlink command and it provides useful status information. With LMIC-node it is easy to get a working node quickly up and running. LMIC-node supports many popular (LoRa) development boards out of the box. It uses the Arduino framework, the LMIC LoRaWAN library and PlatformIO.
MIT License
223 stars 102 forks source link

Allow setTxIndicatorsOn to be used without USE_SERIAL defined. #38

Open dajtxx opened 2 years ago

dajtxx commented 2 years ago

I disabled output to the serial port and the compilation failed because setTxIndicatorsOn was undefined. That function only uses the LED or display so it does not need to be guarded by USE_SERIAL.

I put it in its own guard with USE_LED || USE_DISPLAY.