Minor edit

This commit is contained in:
Kristian Lauszus 2012-08-09 21:41:32 +02:00
parent c349327c88
commit 780ce9abeb

View file

@ -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