Code style and debugging updates
This commit is contained in:
parent
289a01b389
commit
5c5545ba7d
5 changed files with 23 additions and 17 deletions
|
@ -109,7 +109,7 @@ packetbuf_compact(void)
|
|||
if(packetbuf_is_reference()) {
|
||||
memcpy(&packetbuf[PACKETBUF_HDR_SIZE], packetbuf_reference_ptr(),
|
||||
packetbuf_datalen());
|
||||
} else if (bufptr > 0) {
|
||||
} else if(bufptr > 0) {
|
||||
len = packetbuf_datalen() + PACKETBUF_HDR_SIZE;
|
||||
for(i = PACKETBUF_HDR_SIZE; i < len; i++) {
|
||||
packetbuf[i] = packetbuf[bufptr + i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue