mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
gnrc_pktbuf_static: fix order of calling
This commit is contained in:
parent
8da80ee878
commit
e20451edd8
@ -313,8 +313,8 @@ void gnrc_pktbuf_stats(void)
|
|||||||
}
|
}
|
||||||
_print_chunk(chunk, size, count++);
|
_print_chunk(chunk, size, count++);
|
||||||
chunk += (size + ptr->size);
|
chunk += (size + ptr->size);
|
||||||
ptr = ptr->next;
|
|
||||||
_print_unused(ptr);
|
_print_unused(ptr);
|
||||||
|
ptr = ptr->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) {
|
if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user