mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Added DEBUG around string
This commit is contained in:
parent
ebb333de9a
commit
a6d77dce92
1 changed files with 4 additions and 2 deletions
4
BTD.cpp
4
BTD.cpp
|
@ -667,7 +667,9 @@ void BTD::HCI_task() {
|
||||||
#endif
|
#endif
|
||||||
l2capConnectionClaimed = false;
|
l2capConnectionClaimed = false;
|
||||||
if(strncmp((const char *)remote_name, "Nintendo", 8) == 0) {
|
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;
|
incomingWii = true;
|
||||||
}
|
}
|
||||||
hci_event_flag = 0;
|
hci_event_flag = 0;
|
||||||
|
|
Loading…
Reference in a new issue