Initial stab at the new WPILib.
Change-Id: Id04cc07649959566deb5b4fa637267072a5191ca
diff --git a/y2018/wpilib_interface.cc b/y2018/wpilib_interface.cc
index 292fef9..4ca6ef7 100644
--- a/y2018/wpilib_interface.cc
+++ b/y2018/wpilib_interface.cc
@@ -353,7 +353,6 @@
::aos::SetCurrentThreadName("SensorReader");
my_pid_ = getpid();
- ds_ = &DriverStation::GetInstance();
dma_synchronizer_->Start();
@@ -397,7 +396,7 @@
}
void RunIteration() {
- ::frc971::wpilib::SendRobotState(my_pid_, ds_);
+ ::frc971::wpilib::SendRobotState(my_pid_);
const auto values = constants::GetValues();
@@ -506,7 +505,6 @@
}
int32_t my_pid_;
- DriverStation *ds_;
// Mutex to manage access to the period and tick time variables.
::aos::stl_mutex tick_time_mutex_;