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:
parent
080079610b
commit
5a9572f516
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user