diff --git a/MyRobot.cpp b/MyRobot.cpp index fb5513c..4105966 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); }