Durations don't always zero init
In a couple of places I assumed that durations and time_points always
zero-initialised. This is incorrect - they act as if they were their
representation, so integer durations only zero-init when static.

You can zero init (like integers) by having `{}` initialisation.
ls
1 parent 58388b7 commit b614bd3113c5d953dbb057e01daa372e7019a527
@Kevin Bracey Kevin Bracey authored on 3 Apr 2020
Showing 3 changed files
View
drivers/Ticker.h
View
drivers/Timer.h
View
drivers/source/Timer.cpp