1
0
mirror of https://github.com/mcgurk/Arduino-USB-HID-RetroJoystickAdapter synced 2024-11-23 01:22:22 -05:00

Update Wii_Extension_debug.ino

This commit is contained in:
Jarno Lehtinen 2016-11-11 17:50:27 +02:00 committed by GitHub
parent e3c4e2e703
commit e771b97745

View File

@ -98,11 +98,6 @@ void loop() {
delay(10);
}
#ifdef DEBUG
unsigned long d = micros()-t;
Serial.print(d);
#endif
// Nunchuck
uint8_t SX = data[0];
@ -139,6 +134,11 @@ void loop() {
//http://wiibrew.org/wiki/Wiimote/Extension_Controllers/Classic_Controller
#ifdef DEBUG
unsigned long d = micros()-t;
Serial.print(d);
#endif
#ifdef DEBUG
/*for (uint8_t i = 0; i < JOYSTICK_DATA_SIZE; i++) {