cyberman54 / ESP32-Paxcounter

Wifi & BLE driven passenger flow metering with cheap ESP32 boards
https://cyberman54.github.io/ESP32-Paxcounter/
Other
1.69k stars 397 forks source link

Compile errors for non EU Lora configurations #729

Closed oseiler2 closed 3 years ago

oseiler2 commented 3 years ago

After updating to the latest version I could no longer compile my AU915 Lora configuration.

if defined(CFG_LMIC_EU_like) will always return true, even for non-EU LMIC configurations, but some of the defines in the code block aren't present in non-EU configurations

see https://github.com/cyberman54/ESP32-Paxcounter/pull/728

oseiler2 commented 3 years ago

Fixed by merging https://github.com/cyberman54/ESP32-Paxcounter/commit/ad7cfb993f2d6fa4849f84b9dfe32f00f5db36e5