Browse Source

FIX: #endif out of position.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@959 bbd45198-f89e-11dd-88c7-29a3b14d5316
mbbill 14 years ago
parent
commit
a2055ef63a
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/idle.c

+ 4 - 3
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)