mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Forgot to put serial inside DEBUG tags
This commit is contained in:
parent
dfa329a2b9
commit
42023d557a
1 changed files with 6 additions and 2 deletions
8
Wii.cpp
8
Wii.cpp
|
@ -368,14 +368,18 @@ void WII::ACLData(uint8_t* l2capinbuf) {
|
||||||
if(!extensionConnected) {
|
if(!extensionConnected) {
|
||||||
extensionConnected = true;
|
extensionConnected = true;
|
||||||
unknownExtensionConnected = true;
|
unknownExtensionConnected = true;
|
||||||
Serial.print("\r\nExtension connected to Motion Plus");
|
#ifdef DEBUG
|
||||||
|
Notify(PSTR("\r\nExtension connected to Motion Plus"));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if(extensionConnected && !unknownExtensionConnected) {
|
if(extensionConnected && !unknownExtensionConnected) {
|
||||||
extensionConnected = false;
|
extensionConnected = false;
|
||||||
unknownExtensionConnected = true;
|
unknownExtensionConnected = true;
|
||||||
Serial.print("\r\nExtension disconnected from Motion Plus");
|
#ifdef DEBUG
|
||||||
|
Notify(PSTR("\r\nExtension disconnected from Motion Plus"));
|
||||||
|
#endif
|
||||||
nunchuckConnected = false; // There is no extension connected to the Motion Plus if this report is sent
|
nunchuckConnected = false; // There is no extension connected to the Motion Plus if this report is sent
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue