projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor how cpu flags are added.
[bertos.git]
/
bertos
/
drv
/
timer_test.c
diff --git
a/bertos/drv/timer_test.c
b/bertos/drv/timer_test.c
index 98412233200850e629457d6eca56056e39d8dc74..905f9c90005b151abdf7bfd28b9a71e576819412 100644
(file)
--- a/
bertos/drv/timer_test.c
+++ b/
bertos/drv/timer_test.c
@@
-33,7
+33,7
@@
* \brief Hardware independent timer driver (implementation)
*
* \version $Id$
* \brief Hardware independent timer driver (implementation)
*
* \version $Id$
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
*/
#include <cfg/test.h>
*/
#include <cfg/test.h>
@@
-45,6
+45,8
@@
#warning TODO:Refactor this test to comply whit BeRTOS test policy.
#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);
static void timer_test_constants(void)
{
kprintf("TIMER_HW_HPTICKS_PER_SEC=%lu\n", TIMER_HW_HPTICKS_PER_SEC);
@@
-127,7
+129,6
@@
static void timer_test_poll(void)
}
}
}
}
-#ifdef _TEST
#include "timer.c"
#include "mware/event.c"
#include "timer.c"
#include "mware/event.c"