Initial stab at the new WPILib.
Change-Id: Id04cc07649959566deb5b4fa637267072a5191ca
diff --git a/y2017/wpilib_interface.cc b/y2017/wpilib_interface.cc
index 158f7a1..08ce044 100644
--- a/y2017/wpilib_interface.cc
+++ b/y2017/wpilib_interface.cc
@@ -298,7 +298,6 @@
::aos::SetCurrentThreadName("SensorReader");
my_pid_ = getpid();
- ds_ = &DriverStation::GetInstance();
dma_synchronizer_->Start();
@@ -342,7 +341,7 @@
}
void RunIteration() {
- ::frc971::wpilib::SendRobotState(my_pid_, ds_);
+ ::frc971::wpilib::SendRobotState(my_pid_);
const auto values = constants::GetValues();
@@ -472,7 +471,6 @@
}
int32_t my_pid_;
- DriverStation *ds_;
// Mutex to manage access to the period and tick time variables.
::aos::stl_mutex tick_time_mutex_;