X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer_test.c;h=694d18c565ed86ca35d402bc602433da8d00da77;hb=34095954298315121af602c079ca784329d53b12;hp=98412233200850e629457d6eca56056e39d8dc74;hpb=9b772513612e61350b1a09277c127e29dd62fea6;p=bertos.git diff --git a/bertos/drv/timer_test.c b/bertos/drv/timer_test.c index 98412233..694d18c5 100644 --- 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. +#ifdef _TEST + 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"