From c82ae0ed27efa915691b5a07f8d6db4effaccf19 Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 8 Aug 2008 08:17:12 +0000 Subject: [PATCH] Fix timer test temporarily git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1572 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/timer_test.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/bertos/drv/timer_test.c b/bertos/drv/timer_test.c index 905f9c90..f30ac45e 100644 --- a/bertos/drv/timer_test.c +++ b/bertos/drv/timer_test.c @@ -43,6 +43,8 @@ #include +#include + #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 -- 2.25.1