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. |
---|
|
drivers/Ticker.h |
---|
drivers/Timer.h |
---|
drivers/source/Timer.cpp |
---|