mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats
gnrc_pktbuf_static: fix order of calling
This commit is contained in:
commit
d2a02ea582
@ -313,8 +313,8 @@ void gnrc_pktbuf_stats(void)
|
||||
}
|
||||
_print_chunk(chunk, size, count++);
|
||||
chunk += (size + ptr->size);
|
||||
ptr = ptr->next;
|
||||
_print_unused(ptr);
|
||||
ptr = ptr->next;
|
||||
}
|
||||
|
||||
if (chunk <= &_pktbuf[GNRC_PKTBUF_SIZE - 1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user