mcci-catena / arduino-lmic

LoraWAN-MAC-in-C library, adapted to run under the Arduino environment
https://forum.mcci.io/c/device-software/arduino-lmic/
MIT License
648 stars 212 forks source link

Please use `defined(` on both parts, for consistency with files above. #969

Closed terrillmoore closed 1 week ago

terrillmoore commented 4 weeks ago

The variables CFG_sx*_radio are not guaranteed to be defined; in fact, only one is defined. Please use defined( on both parts of ifs testing these, for consistency with files above.

terrillmoore commented 1 week ago

Fixed by #973