Update to new kernel config: kernel if OFF by default now.
[bertos.git] / bertos / drv / timer_test.c
index 9c649a31f6321305f55acd8cda8e69b2d7e7ddf0..19522768cbfe36fb68608cdadf16583d209bc866 100644 (file)
@@ -34,6 +34,7 @@
  *
  * \version $Id$
  * \author Bernie Innocenti <bernie@codewiz.org>
+ *
  */
 
 #include <cfg/test.h>
@@ -131,7 +132,7 @@ static void timer_test_poll(void)
 int timer_testSetup(void)
 {
        IRQ_ENABLE;
-       wdt_init(7);
+       wdt_start(7);
        timer_init();
        kdbg_init();
        return 0;
@@ -154,12 +155,5 @@ int timer_testTearDown(void)
        return 0;
 }
 
-#include TEST_ONLY(drv/timer.c)
-#include TEST_ONLY(drv/kdebug.c)
-#include TEST_ONLY(mware/event.c)
-#include TEST_ONLY(mware/formatwr.c)
-#include TEST_ONLY(mware/hex.c)
-#include TEST_ONLY(os/hptime.c)
-
 TEST_MAIN(timer);