mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[examples] fix incorrect variable in Arm Simulation Pref (#3980)
This commit is contained in:
@@ -94,7 +94,7 @@ class Robot : public frc::TimedRobot {
|
||||
frc::Preferences::SetDouble(kArmPositionKey, armPosition.value());
|
||||
}
|
||||
if (!frc::Preferences::ContainsKey(kArmPKey)) {
|
||||
frc::Preferences::SetDouble(kArmPKey, armPosition.value());
|
||||
frc::Preferences::SetDouble(kArmPKey, kArmKp);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user