Instead of doing a substraction and a compare in the if check, whenever we reset the timer, add `syncDelay`, and compare against the timer only. Should result in marginally better performing code. Thanks @obra for the suggestion! Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>pull/365/head
parent
559eab96ae
commit
09afa0ec72
Loading…
Reference in new issue