esp32_Adafruit_GPS/examples/GPS_HardwareSerial_LOCUS_St...
Edgar Bonet 939534d580 Correct handling of millis() rollover
millis() returns an unsigned long integer, and C++ guarantees that
arithmetics on this type work modulo (ULONG_MAX+1). This behavior
ensures that computing a delay as

    millis() - previousMillis

yields the correct result across millis() rollover events, as long as
the time actually elapsed is less than about 49.7 days.
2020-02-20 22:03:34 +01:00
..
.esp8266.test.skip Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
.uno.test.skip Skip tests for unsupported platforms; removed do nothing pieces 2019-03-14 17:05:30 -04:00
GPS_HardwareSerial_LOCUS_Status.ino Correct handling of millis() rollover 2020-02-20 22:03:34 +01:00