Fix timer test temporarily
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 8 Aug 2008 08:17:12 +0000 (08:17 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 8 Aug 2008 08:17:12 +0000 (08:17 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1572 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/timer_test.c

index 905f9c90005b151abdf7bfd28b9a71e576819412..f30ac45e2accebc7f806bd881374b985b3cf8b8a 100644 (file)
@@ -43,6 +43,8 @@
 
 #include <mware/event.h>
 
+#include <cfg/debug.h>
+
 #warning TODO:Refactor this test to comply whit BeRTOS test policy.
 
 #ifdef _TEST
@@ -130,10 +132,6 @@ static void timer_test_poll(void)
 }
 
 
-#include "timer.c"
-#include "mware/event.c"
-#include "os/hptime.c"
-
 int main(void)
 {
        wdt_init(7);
@@ -144,5 +142,13 @@ int main(void)
        timer_test_poll();
        return 0;
 }
+
+#include "timer.c"
+#include "drv/kdebug.c"
+#include "mware/event.c"
+#include "mware/formatwr.c"
+#include "mware/hex.c"
+#include "os/hptime.c"
+
 #endif