Forgot to put serial inside DEBUG tags

This commit is contained in:
Kristian Lauszus 2012-08-24 00:59:43 +02:00
parent dfa329a2b9
commit 42023d557a

View file

@ -368,14 +368,18 @@ void WII::ACLData(uint8_t* l2capinbuf) {
if(!extensionConnected) {
extensionConnected = true;
unknownExtensionConnected = true;
Serial.print("\r\nExtension connected to Motion Plus");
#ifdef DEBUG
Notify(PSTR("\r\nExtension connected to Motion Plus"));
#endif
}
}
else {
if(extensionConnected && !unknownExtensionConnected) {
extensionConnected = false;
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
}
}