Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/frc971/wpilib/interrupt_edge_counting.cc b/frc971/wpilib/interrupt_edge_counting.cc
index 4bdb2d2..5c10b89 100644
--- a/frc971/wpilib/interrupt_edge_counting.cc
+++ b/frc971/wpilib/interrupt_edge_counting.cc
@@ -1,5 +1,7 @@
#include "frc971/wpilib/interrupt_edge_counting.h"
+#include <chrono>
+
#include "aos/common/time.h"
#include "aos/linux_code/init.h"
@@ -64,7 +66,7 @@
// Wait more than the amount of time it takes for a digital input change
// to go from visible to software to having triggered an interrupt.
- ::aos::time::SleepFor(::aos::time::Time::InUS(120));
+ ::std::this_thread::sleep_for(::std::chrono::microseconds(120));
if (TryFinishingIteration()) return;
}