Watchdog: use units::second_t instead of double (#1863)

Fixes #1827.
This commit is contained in:
Tyler Veness
2019-09-03 15:58:31 -07:00
committed by Peter Johnson
parent 761bc3ef85
commit 7112add67f
7 changed files with 63 additions and 25 deletions

View File

@@ -63,7 +63,7 @@ class TimedRobot : public IterativeRobotBase, public ErrorBase {
hal::Handle<HAL_NotifierHandle> m_notifier;
// The absolute expiration time
double m_expirationTime = 0;
units::second_t m_expirationTime{0};
/**
* Update the HAL alarm time.