rename cpuXXX_t to cpu_XXX_t
[bertos.git] / bertos / cpu / arm / drv / stepper_at91_hw_test.c
index b50ea2fe1b5b5fe4aaeca9fce98f84eccaf721ca..8fb1820c3d55d9531db876967a45c0c5f8afc250 100644 (file)
@@ -39,6 +39,7 @@
 
 #include "stepper_at91.h"
 
+#include "cfg/cfg_stepper.h"
 #include <cfg/macros.h>
 #include <cfg/debug.h>
 
 
 #include <io/arm.h>
 
-#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