From: bernie Date: Fri, 8 Aug 2008 08:17:12 +0000 (+0000) Subject: Fix timer test temporarily X-Git-Tag: 2.0.0~362 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=c82ae0ed27efa915691b5a07f8d6db4effaccf19;p=bertos.git Fix timer test temporarily git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1572 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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