Merge pull request #5 from milkypostman/timerfix

Fix update check was always checking.
pull/389/head
Gergely Nagy 7 years ago committed by GitHub
commit b1fc8d7cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -96,7 +96,7 @@ Heatmap::loopHook(bool is_post_clear) {
void
Heatmap::update(void) {
if (end_time_ && (millis() > end_time_))
if (end_time_ && (millis() < end_time_))
return;
end_time_ = millis() + update_delay;

Loading…
Cancel
Save