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
6
BTD.cpp
6
BTD.cpp
|
@ -476,7 +476,7 @@ void BTD::HCI_event_task() {
|
|||
case EV_ENCRYPTION_CHANGE:
|
||||
case EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE:
|
||||
break;
|
||||
#ifdef EXTRADEBUG
|
||||
#ifdef EXTRADEBUG
|
||||
default:
|
||||
if(hcibuf[0] != 0x00) {
|
||||
Notify(PSTR("\r\nUnmanaged HCI Event: "));
|
||||
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue