mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed comment after formatting
This commit is contained in:
parent
d49eba0372
commit
a660a353d3
1 changed files with 3 additions and 6 deletions
9
SPP.cpp
9
SPP.cpp
|
@ -732,8 +732,7 @@ void SPP::print(const String &str) {
|
|||
uint8_t length = str.length();
|
||||
if (length > (sizeof (l2capoutbuf) - 4))
|
||||
length = sizeof (l2capoutbuf) - 4;
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress;
|
||||
; // RFCOMM Address
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress; // RFCOMM Address
|
||||
l2capoutbuf[1] = RFCOMM_UIH; // RFCOMM Control
|
||||
l2capoutbuf[2] = length << 1 | 1; // Length
|
||||
uint8_t i = 0;
|
||||
|
@ -750,8 +749,7 @@ void SPP::print(const char* str) {
|
|||
uint8_t length = strlen(str);
|
||||
if (length > (sizeof (l2capoutbuf) - 4))
|
||||
length = sizeof (l2capoutbuf) - 4;
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress;
|
||||
; // RFCOMM Address
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress; // RFCOMM Address
|
||||
l2capoutbuf[1] = RFCOMM_UIH; // RFCOMM Control
|
||||
l2capoutbuf[2] = length << 1 | 1; // Length
|
||||
uint8_t i = 0;
|
||||
|
@ -767,8 +765,7 @@ void SPP::print(uint8_t* array, uint8_t length) {
|
|||
return;
|
||||
if (length > (sizeof (l2capoutbuf) - 4))
|
||||
length = sizeof (l2capoutbuf) - 4;
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress;
|
||||
; // RFCOMM Address
|
||||
l2capoutbuf[0] = rfcommChannelConnection | 0 | 0 | extendAddress; // RFCOMM Address
|
||||
l2capoutbuf[1] = RFCOMM_UIH; // RFCOMM Control
|
||||
l2capoutbuf[2] = length << 1 | 1; // Length
|
||||
uint8_t i = 0;
|
||||
|
|
Loading…
Reference in a new issue