mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #16611 from kaspar030/gnrc_icmpv6_echo_msg_avail
sys/shell/commands: gnrc_icmpv6_echo: use msg_avail()
This commit is contained in:
commit
fa406e9e54
@ -132,7 +132,7 @@ finish:
|
||||
res = _finish(&data);
|
||||
gnrc_netreg_unregister(GNRC_NETTYPE_ICMPV6, &data.netreg);
|
||||
for (unsigned i = 0;
|
||||
i < cib_avail(&thread_get_active()->msg_queue);
|
||||
i < (unsigned)msg_avail();
|
||||
i++) {
|
||||
msg_t msg;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user