things4u / ESP-1ch-Gateway-v5.0--OLD

Version 5 of Single Channel LoRa Gateway
MIT License
311 stars 162 forks source link

Update _loraModem.ino #61

Closed nicolasimeoni closed 5 years ago

nicolasimeoni commented 5 years ago

Modified loraWait() to avoid hangs when tmst is in the past

platenspeler commented 5 years ago

Thanks! Instead of changing the first reference to waitTime it would also be possible to change definition of waitTime to int32_t (instead of unsigned). I think it makes little difference to the execution time though.

Maarten