# HG changeset patch # User ark # Date 1486307984 -3600 # Node ID 328b2e0c75554aa1b963d7fb239cc2e3fa7eb1dd # Parent a3fceeff4b211478887264474b01fb918bf3b532 //debug diff -r a3fceeff4b21 -r 328b2e0c7555 Joystick.cpp --- a/Joystick.cpp Sat Feb 04 22:59:02 2017 +0100 +++ b/Joystick.cpp Sun Feb 05 16:19:44 2017 +0100 @@ -6,7 +6,8 @@ #include "Joystick.h" -#define DEBUG +//#define DEBUG + /** see Joystick.h for description. @@ -64,11 +65,11 @@ centerX = x.value; centerY = y.value; #ifdef DEBUG - Serial.print(ms); - Serial.print(": Joystick calibrated, center="); - Serial.print(centerX); - Serial.print(","); - Serial.println(centerY); + Serial.print(ms); + Serial.print(": Joystick calibrated, center="); + Serial.print(centerX); + Serial.print(","); + Serial.println(centerY); #endif } else return;