X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer_test.c;h=905f9c90005b151abdf7bfd28b9a71e576819412;hb=0e9db20f6fb7f4ec21edaae6c9270317ee5dcfd9;hp=98412233200850e629457d6eca56056e39d8dc74;hpb=9b772513612e61350b1a09277c127e29dd62fea6;p=bertos.git diff --git a/bertos/drv/timer_test.c b/bertos/drv/timer_test.c index 98412233..905f9c90 100644 --- a/bertos/drv/timer_test.c +++ b/bertos/drv/timer_test.c @@ -33,7 +33,7 @@ * \brief Hardware independent timer driver (implementation) * * \version $Id$ - * \author Bernardo Innocenti + * \author Bernie Innocenti */ #include @@ -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"