liberatedsystems / RNode_Firmware_CE

RNode is an open, free and flexible digital radio interface with many uses
https://unsigned.io/rnode
GNU General Public License v3.0
37 stars 7 forks source link

millis() wraparound #25

Open jacobeva opened 2 weeks ago

jacobeva commented 2 weeks ago

Apparently, millis() will wrap around to 0 after roughly 49 days of execution time. In environments where the RNode may be left unattended, this could be an issue, and cause weird behaviour.

I need to check if this is a real problem or not.

See: https://www.arduino.cc/reference/en/language/functions/time/millis/

jacobeva commented 2 weeks ago

https://arduino.stackexchange.com/questions/12587/how-can-i-handle-the-millis-rollover