Closed frazar closed 5 years ago
Actually.... this code base originally comes from an ARM-based platform and was backported to 16-bit platforms. Having (years ago) maintained a code base that was on 16 bit and 32-bit platforms, I don't know that all the rules have been followed. SInce I don't have AVR platforms to test with (or the time to test), this kind of thing is going to be an ongoing problem. Sorry.
Compiling LMIC on the latest commit (6e5ebbe) with the Arduino IDE yields the following warnings:
This is because
1u
is of typeunsigned int
(16 bits on Arduino), whileEV_RXSTART
is 19.