From 4b6513f5a196dd02de2d85ef65357b3dec502855 Mon Sep 17 00:00:00 2001 From: Our Air Quality Date: Wed, 14 Feb 2018 10:40:46 +1100 Subject: [PATCH] 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. --- lwip/sys_arch.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lwip/sys_arch.c b/lwip/sys_arch.c index 36a6eae..52f5330 100644 --- a/lwip/sys_arch.c +++ b/lwip/sys_arch.c @@ -284,6 +284,12 @@ err_t sys_mbox_trypost(sys_mbox_t *mbox, void *msg) 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 *---------------------------------------------------------------------------*