driveclock: Run initial update immediately

pull/484/head
Mike Lang 2 weeks ago
parent 91bce47be1
commit c54ed3455c

@ -116,5 +116,7 @@ if (test) {
}
}, interval);
} else {
// Do first update immediately, then every UPDATE_INTERVAL_MS
setInterval(update, UPDATE_INTERVAL_MS);
update();
}

Loading…
Cancel
Save