projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cast to correct type for comparison.
[bertos.git]
/
bertos
/
drv
/
timer_test.c
diff --git
a/bertos/drv/timer_test.c
b/bertos/drv/timer_test.c
index 98412233200850e629457d6eca56056e39d8dc74..694d18c565ed86ca35d402bc602433da8d00da77 100644
(file)
--- a/
bertos/drv/timer_test.c
+++ b/
bertos/drv/timer_test.c
@@
-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"