From 926f90fc4fc01ce58d6dde86fa1977d0ce3f2696 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Wed, 10 Aug 2011 08:17:32 +0200 Subject: [PATCH] add LwIP errno variable in the context of the task --- include/metalsvm/tasks_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/metalsvm/tasks_types.h b/include/metalsvm/tasks_types.h index f972feba..3379fccb 100644 --- a/include/metalsvm/tasks_types.h +++ b/include/metalsvm/tasks_types.h @@ -85,6 +85,10 @@ typedef struct task { uint32_t start_heap; /// End address of the heap uint32_t end_heap; +#ifdef CONFIG_LWIP + /// LwIP error code + int lwip_err; +#endif /// Mail inbox mailbox_wait_msg_t inbox; /// Mail outbox array