Skip to content

Commit e771b97

Browse files
authored
Update Wii_Extension_debug.ino
1 parent e3c4e2e commit e771b97

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Wii_Extension_debug.ino

+6-6
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,7 @@ void loop() {
9898
delay(10);
9999
}
100100

101-
#ifdef DEBUG
102-
unsigned long d = micros()-t;
103-
Serial.print(d);
104-
#endif
105-
106-
101+
107102
// Nunchuck
108103
uint8_t SX = data[0];
109104
uint8_t SY = ~data[1];
@@ -139,6 +134,11 @@ void loop() {
139134
//http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Classic_Controller
140135

141136

137+
#ifdef DEBUG
138+
unsigned long d = micros()-t;
139+
Serial.print(d);
140+
#endif
141+
142142

143143
#ifdef DEBUG
144144
/*for (uint8_t i = 0; i < JOYSTICK_DATA_SIZE; i++) {

0 commit comments

Comments
 (0)