projects
/
the_perfect_clock.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
02ae07e
)
This makes more sense
author
Art Cancro
<ajc@citadel.org>
Thu, 20 Feb 2020 17:04:26 +0000
(12:04 -0500)
committer
Art Cancro
<ajc@citadel.org>
Thu, 20 Feb 2020 17:04:26 +0000
(12:04 -0500)
the_perfect_clock.ino
patch
|
blob
|
history
diff --git
a/the_perfect_clock.ino
b/the_perfect_clock.ino
index 917f5688e69da72cf5f82c19c7e853b5a8717422..48050670dffc522ee099456ce8bb1f0316e419be 100644
(file)
--- 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;