demo: Remove misleading comment
[bertos.git] / bertos / drv / timer_test.c
index 98412233200850e629457d6eca56056e39d8dc74..f30ac45e2accebc7f806bd881374b985b3cf8b8a 100644 (file)
@@ -33,7 +33,7 @@
  * \brief Hardware independent timer driver (implementation)
  *
  * \version $Id$
- * \author Bernardo Innocenti <bernie@develer.com>
+ * \author Bernie Innocenti <bernie@codewiz.org>
  */
 
 #include <cfg/test.h>
 
 #include <mware/event.h>
 
+#include <cfg/debug.h>
+
 #warning TODO:Refactor this test to comply whit BeRTOS test policy.
 
+#ifdef _TEST
+
 static void timer_test_constants(void)
 {
        kprintf("TIMER_HW_HPTICKS_PER_SEC=%lu\n", TIMER_HW_HPTICKS_PER_SEC);
@@ -127,11 +131,6 @@ static void timer_test_poll(void)
        }
 }
 
-#ifdef _TEST
-
-#include "timer.c"
-#include "mware/event.c"
-#include "os/hptime.c"
 
 int main(void)
 {
@@ -143,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