Prevent it from printing "Pairing successful" multiple times

This commit is contained in:
Kristian Lauszus 2012-10-07 22:31:28 +02:00
parent 90ae685010
commit 3441f6c3c4

View file

@ -456,7 +456,7 @@ void BTD::HCI_event_task() {
break;
case EV_AUTHENTICATION_COMPLETE:
if(pairWithWii) {
if(pairWithWii && !connectToWii) {
#ifdef DEBUG
Notify(PSTR("\r\nPairing successful"));
#endif