Fix the name of a variable
Change-Id: I9d071ca6f0a8fe352055fc852cf2820f9b648bd0
diff --git a/frc971/zeroing/zeroing_test.cc b/frc971/zeroing/zeroing_test.cc
index 2f562aa..4cfb5e0 100644
--- a/frc971/zeroing/zeroing_test.cc
+++ b/frc971/zeroing/zeroing_test.cc
@@ -29,10 +29,10 @@
void MoveTo(PositionSensorSimulator *simulator,
PotAndIndexPulseZeroingEstimator *estimator,
double new_position) {
- PotAndIndexPosition sensor_values_;
+ PotAndIndexPosition sensor_values;
simulator->MoveTo(new_position);
- simulator->GetSensorValues(&sensor_values_);
- estimator->UpdateEstimate(sensor_values_);
+ simulator->GetSensorValues(&sensor_values);
+ estimator->UpdateEstimate(sensor_values);
}
::aos::testing::TestSharedMemory my_shm_;