lwip add and stub for sys_mbox_trypost_fromisr()

This is not supported on esp-open-rtos, but add a stub to quieten
linker warnings.
This commit is contained in:
Our Air Quality 2018-02-14 10:40:46 +11:00
parent 59c3ae3e5d
commit 4b6513f5a1

View file

@ -284,6 +284,12 @@ err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg)
return ERR_MEM; return ERR_MEM;
} }
err_t sys_mbox_trypost_fromisr(sys_mbox_t *q, void *msg)
{
/* Quietly fail - not implemented. */
return ERR_MEM;
}
/*---------------------------------------------------------------------------* /*---------------------------------------------------------------------------*
* Routine: sys_arch_mbox_fetch * Routine: sys_arch_mbox_fetch
*---------------------------------------------------------------------------* *---------------------------------------------------------------------------*