Commit Graph

9 Commits

Author SHA1 Message Date
caternuson 237f7b26eb dox fixes for ci 2022-09-20 09:11:22 -07:00
Matt Goodrich c65c00ae15
Merge pull request #117 from optorres/fix-warnings-2
Fix boolean deprecation and -Wdouble-promotion warnings
2020-02-25 14:30:22 -05:00
Owen Torres a0cf6d860a Fix formatting 2020-02-23 18:53:32 -05:00
Owen Torres e3caa7d491 Fix boolean deprecation and -Wdouble-promotion warnings 2020-02-23 18:39:46 -05:00
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
Rick Sellens d0f7f47dc9 Warning about scaling 2020-01-30 17:09:35 -05:00
Rick Sellens 1afe1df764 clang 2020-01-29 13:10:43 -05:00
Rick Sellens 8ae6a7b75a clang 2020-01-29 12:57:20 -05:00
Rick Sellens 6f41d311cd Add no comms constructor, destructor, data values 2020-01-29 09:56:21 -05:00