Added DEBUG around string

This commit is contained in:
Kristian Lauszus 2012-10-07 15:22:29 +02:00
parent ebb333de9a
commit a6d77dce92

View file

@ -667,7 +667,9 @@ void BTD::HCI_task() {
#endif
l2capConnectionClaimed = false;
if(strncmp((const char *)remote_name, "Nintendo", 8) == 0) {
Serial.print("\r\nWiimote is connecting");
#ifdef DEBUG
Notify(PSTR("\r\nWiimote is connecting"));
#endif
incomingWii = true;
}
hci_event_flag = 0;