mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Prevent it from printing "Pairing successful" multiple times
This commit is contained in:
parent
90ae685010
commit
3441f6c3c4
1 changed files with 1 additions and 1 deletions
2
BTD.cpp
2
BTD.cpp
|
@ -456,7 +456,7 @@ void BTD::HCI_event_task() {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case EV_AUTHENTICATION_COMPLETE:
|
case EV_AUTHENTICATION_COMPLETE:
|
||||||
if(pairWithWii) {
|
if(pairWithWii && !connectToWii) {
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
Notify(PSTR("\r\nPairing successful"));
|
Notify(PSTR("\r\nPairing successful"));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue