From: Art Cancro Date: Thu, 20 Feb 2020 17:04:26 +0000 (-0500) Subject: This makes more sense X-Git-Url: https://code.citadel.org/?p=the_perfect_clock.git;a=commitdiff_plain;h=b3a2d37d683b8e1617abeb8ba4df8ac9892a36c7 This makes more sense --- diff --git a/the_perfect_clock.ino b/the_perfect_clock.ino index 917f568..4805067 100644 --- a/the_perfect_clock.ino +++ b/the_perfect_clock.ino @@ -313,7 +313,7 @@ void calibrate() static unsigned long last_calib = -86398000; unsigned long m = millis(); unsigned long mm = m - last_calib; - if ((50000 < mm) && (mm < 70000)) { + if ((mm > 50000) && (mm < 70000)) { millis_per_minute = mm; } last_calib = m;