You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add handling for error codes returned by osEventFlagsWait in the lwip
mailbox driver. This fixes the network tests.
When there are no events pending in a call to osEventFlagsWait the
error code osErrorResource (0xFFFFFFFD) is returned. Because this
return value has bit 0 set (SYS_MBOX_FETCH_EVENT) it is interpreted
as a mailbox event, even though the mailbox is empty. This patch
checks for osFlagsError to determine if the return value of
osEventFlagsWait is an error code or is a bitfield.
0 commit comments