RadioLibSmol/src
Nicklas Börjesson d9538f959a
Add parenthesis for compatibility
Hi,
I am getting a compile error on ESP-IDF/Platformio:
```
managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.cpp: In member function 'int16_t LoRaWANNode::beginOTAA(uint64_t, uint64_t, uint8_t*, uint8_t*, bool)':
managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.cpp:125:61: error: suggest parentheses around comparison in operand of '&' [-Werror=parentheses]
  125 |   if(joinAcceptMsgEnc[0] & RADIOLIB_LORAWAN_MHDR_MTYPE_MASK != RADIOLIB_LORAWAN_MHDR_MTYPE_JOIN_ACCEPT) {
cc1plus: some warnings being treated as errors
*** [.pio/build/TTGO-LoRa32-v1/managed_components/RadioLib/src/protocols/LoRaWAN/LoRaWAN.o] Error 1

I propose adding a parenthesis, for clarity and compatibility.
2023-07-06 22:43:33 +02:00
..
modules [SX127x] Implemented new common PHY methods 2023-07-06 11:17:29 +02:00
protocols Add parenthesis for compatibility 2023-07-06 22:43:33 +02:00
utils [Crypto] Added AES key size macro 2023-07-06 13:30:56 +02:00
ArduinoHal.cpp [HAL] Implemented basic persistent storage 2023-07-06 11:19:18 +02:00
ArduinoHal.h [HAL] Implemented basic persistent storage 2023-07-06 11:19:18 +02:00
BuildOpt.h [HAL] Updated persistent management 2023-07-06 13:30:29 +02:00
BuildOptUser.h Added user build opt 2023-03-17 23:01:24 +01:00
Hal.cpp [HAL] Updated persistent management 2023-07-06 13:30:29 +02:00
Hal.h [HAL] Updated persistent management 2023-07-06 13:30:29 +02:00
Module.cpp Module: Get status from first byte after the command 2023-06-28 20:43:28 +10:00
Module.h [MOD] Added common reflect method 2023-05-12 20:55:51 +02:00
RadioLib.h [LoRaWAN] Added basic LoRaWAN support (#58) 2023-07-06 13:41:31 +02:00
TypeDef.h fix error description 2023-06-16 15:58:59 +02:00