mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
Fix bug #55017: Wrong return value in sys_arch_mbox_tryfetch() in FreeRTOS port
This commit is contained in:
parent
d386388fb5
commit
915e923809
@ -432,10 +432,7 @@ sys_arch_mbox_tryfetch(sys_mbox_t *mbox, void **msg)
|
|||||||
}
|
}
|
||||||
LWIP_ASSERT("mbox fetch failed", ret == pdTRUE);
|
LWIP_ASSERT("mbox fetch failed", ret == pdTRUE);
|
||||||
|
|
||||||
/* Old versions of lwIP required us to return the time waited.
|
return 0;
|
||||||
This is not the case any more. Just returning != SYS_ARCH_TIMEOUT
|
|
||||||
here is enough. */
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user