LacunaSpace / basicmac

BasicMAC LoRaWAN stack that supports (but is not limited to) Arduino
Other
75 stars 18 forks source link

Error in radio-sx127x.c #13

Closed pe1mew closed 4 years ago

pe1mew commented 4 years ago

in file: BasicMAC/src/lmic/radio-sx127x.c

line 414

((getCr(LMIC.rps) - CR4_5 + 1) << 1) | // CR_4_5 --> 1

should be changed in to:

(getCr(LMIC.rps) - CR_4_5 + 1) << 1) | // CR_4_5 --> 1

After this change the code compiles OK.