Instead of calculating the elapsed time every time we check the timer, calculate the projected end-time when we start the timer, and just compare millis() against that. Also removes the `.configure()` method, in favour of making the `timeOut` property public. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/389/head
parent
ce45b212d7
commit
7a5a1b2b33
Loading…
Reference in new issue