mcci-catena / arduino-lorawan

User-friendly library for using arduino-lmic with The Things Network and other LoRaWAN® networks
MIT License
288 stars 54 forks source link

Portability: don't use defined() in macros. #155

Closed terrillmoore closed 3 years ago

terrillmoore commented 3 years ago

Although gcc implements it, the effect of using defined() in a macro expansion is not defined and therefore isn't portable. This happens in Arduino_LoRaWAN_network.h. Rework.