From 15f7871295227a5929a55bdece7d4050202c1175 Mon Sep 17 00:00:00 2001 From: Adam Long Date: Fri, 4 Apr 2014 15:07:15 -0700 Subject: [PATCH] updateJoystick should return an int, not a bool --- MyRobot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }