From d3ada884d7687b8c9ac0be03f330b9046e08fdc5 Mon Sep 17 00:00:00 2001 From: Sparchatus Date: Mon, 4 Apr 2022 13:15:48 +0000 Subject: [PATCH] Bugfix as per Forum https://moodle-app2.let.ethz.ch/mod/forum/discuss.php?d=102070 --- lib/aos/include/threads_priv.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/aos/include/threads_priv.h b/lib/aos/include/threads_priv.h index eb199bf..2061b3f 100644 --- a/lib/aos/include/threads_priv.h +++ b/lib/aos/include/threads_priv.h @@ -95,6 +95,9 @@ static inline bool havework_disabled(dispatcher_handle_t handle) { struct dispatcher_generic *disp = get_dispatcher_generic(handle); return disp->runq != NULL + #ifdef CONFIG_INTERCONNECT_DRIVER_LMP + || disp->lmp_send_events_list != NULL + #endif || disp->polled_channels != NULL || disp->notificators != NULL ;