Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/frc971/wpilib/loop_output_handler.h b/frc971/wpilib/loop_output_handler.h
index 144093d..14a5cc5 100644
--- a/frc971/wpilib/loop_output_handler.h
+++ b/frc971/wpilib/loop_output_handler.h
@@ -22,7 +22,7 @@
class LoopOutputHandler {
public:
LoopOutputHandler(
- const ::aos::time::Time &timeout = ::aos::time::Time::InSeconds(0.10));
+ ::std::chrono::nanoseconds timeout = ::std::chrono::milliseconds(100));
void Quit() { run_ = false; }
@@ -54,7 +54,7 @@
// LoopOutputHandler whenever the timerfd expires.
class Watchdog {
public:
- Watchdog(LoopOutputHandler *handler, const ::aos::time::Time &timeout);
+ Watchdog(LoopOutputHandler *handler, ::std::chrono::nanoseconds timeout);
void operator()();
@@ -65,7 +65,7 @@
private:
LoopOutputHandler *const handler_;
- const ::aos::time::Time timeout_;
+ const ::std::chrono::nanoseconds timeout_;
::aos::ScopedFD timerfd_;