mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +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);
|
||||
|
||||
/* Old versions of lwIP required us to return the time waited.
|
||||
This is not the case any more. Just returning != SYS_ARCH_TIMEOUT
|
||||
here is enough. */
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user