1
0
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:
Martine Lenders 2021-07-05 14:19:46 +02:00 committed by GitHub
commit fa406e9e54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;