mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Minor edit
This commit is contained in:
parent
c349327c88
commit
780ce9abeb
1 changed files with 3 additions and 2 deletions
5
SPP.cpp
5
SPP.cpp
|
@ -342,14 +342,15 @@ void SPP::ACLData(uint8_t* l2capinbuf) {
|
||||||
waitForLastCommand = false;
|
waitForLastCommand = false;
|
||||||
creditSent = false;
|
creditSent = false;
|
||||||
connected = true; // The RFCOMM channel is now established
|
connected = true; // The RFCOMM channel is now established
|
||||||
} else if(rfcommChannelType != RFCOMM_DISC) {
|
}
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
else if(rfcommChannelType != RFCOMM_DISC) {
|
||||||
Notify(PSTR("\r\nUnsupported RFCOMM Data - ChannelType: "));
|
Notify(PSTR("\r\nUnsupported RFCOMM Data - ChannelType: "));
|
||||||
PrintHex<uint8_t>(rfcommChannelType);
|
PrintHex<uint8_t>(rfcommChannelType);
|
||||||
Notify(PSTR(" Command: "));
|
Notify(PSTR(" Command: "));
|
||||||
PrintHex<uint8_t>(l2capinbuf[11]);
|
PrintHex<uint8_t>(l2capinbuf[11]);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef EXTRADEBUG
|
#ifdef EXTRADEBUG
|
||||||
|
|
Loading…
Reference in a new issue