Upgraded the rest of Time.
Change-Id: I0ee083837e51d8f74a798b7ba14a3b6bb3859f35
diff --git a/frc971/wpilib/gyro_interface.cc b/frc971/wpilib/gyro_interface.cc
index 6b3ab40..9b7bb8b 100644
--- a/frc971/wpilib/gyro_interface.cc
+++ b/frc971/wpilib/gyro_interface.cc
@@ -1,6 +1,7 @@
#include "frc971/wpilib/gyro_interface.h"
#include <inttypes.h>
+#include <chrono>
#include "aos/common/logging/logging.h"
#include "aos/common/time.h"
@@ -35,7 +36,7 @@
}
// Wait for it to assert the fault conditions before reading them.
- ::aos::time::SleepFor(::aos::time::Time::InMS(50));
+ ::std::this_thread::sleep_for(::std::chrono::milliseconds(50));
if (!DoTransaction(0x20000000, &result)) {
LOG(WARNING, "failed to clear latched non-fault data\n");