diff --git a/MyRobot.cpp b/MyRobot.cpp index 8d8f9e1..a1c9395 100644 --- a/MyRobot.cpp +++ b/MyRobot.cpp @@ -264,7 +264,7 @@ public: } //}}} //updateJoystick{{{ - bool updateJoystick(*stick){ + int updateJoystick(*stick){ for(i=1,i<=12,i++){ state[i] = stick.GetRawButton(i); }