X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Fstepper_at91_hw_test.c;h=8fb1820c3d55d9531db876967a45c0c5f8afc250;hb=e62ca0b357f09804d7d894949df44224c9d74bb7;hp=b50ea2fe1b5b5fe4aaeca9fce98f84eccaf721ca;hpb=99c9bbc62b1b6003eefd78bf1e1b83beae4b9f38;p=bertos.git diff --git a/bertos/cpu/arm/drv/stepper_at91_hw_test.c b/bertos/cpu/arm/drv/stepper_at91_hw_test.c index b50ea2fe..8fb1820c 100644 --- a/bertos/cpu/arm/drv/stepper_at91_hw_test.c +++ b/bertos/cpu/arm/drv/stepper_at91_hw_test.c @@ -39,6 +39,7 @@ #include "stepper_at91.h" +#include "cfg/cfg_stepper.h" #include #include @@ -47,11 +48,10 @@ #include -#include "appconfig.h" - -#warning This test are incomplete.. you MUST review.. +#warning FIXME:This test is incomplete.. you MUST review.. +#if 0 static void stepper_test_irq_schedule(struct Stepper *motor, stepper_time_t delay) { stepper_tc_doPulse(motor->timer); @@ -150,7 +150,7 @@ void stepper_timer_test_brute(void) TC2_RA = 0; TC2_RB = 0; - cpuflags_t flags; + cpu_flags_t flags; IRQ_SAVE_DISABLE(flags); /* Set the vector. */ @@ -171,4 +171,5 @@ void stepper_timer_test_brute(void) //Enable timer and trig it TC2_CCR = BV(TC_CLKEN) | BV(TC_SWTRG); } +#endif