diff --git a/src/idle.c b/src/idle.c index c8af8f905beda4d9e54047c72ca1db12adae9d6b..6d5ce9fca0e687e938ef2a1e6be1c412685360e5 100644 --- a/src/idle.c +++ b/src/idle.c @@ -122,10 +122,11 @@ void rt_thread_idle_excute(void) /* unload module */ rt_module_unload(module); } - } + } +#endif //RT_USING_MODULE } -#endif -#endif + +#endif //RT_USING_HEAP } static void rt_thread_idle_entry(void* parameter)