2
0
mirror of https://github.com/team2059/Zaphod synced 2024-12-18 20:12:28 -05:00

fixes a compile error

This commit is contained in:
Adam Long 2014-06-10 14:48:47 -04:00
parent 080079610b
commit 5a9572f516

View File

@ -64,12 +64,12 @@ bool ZaphodRobot::checkJoystickValues()
float y = ControlSystem->rightJoystickAxisValues[2];
if((-.1 < x && x < .1) && (-.1 < y && y < .1))
{
dashboard->putBooleanValue("Joysticks Valid", true);
dashboard->putBoolValue("Joysticks Valid", true);
return true;
}
else
{
dashboard->putBooleanValue("Joysticks Valid", false);
dashboard->putBoolValue("Joysticks Valid", false);
return true;
return false;
}