rename cpuXXX_t to cpu_XXX_t
[bertos.git] / bertos / cpu / arm / drv / stepper_at91.c
index 4f41f10d55213dd0c57d18cf737f129da50e32d4..fa1b6470cf943bd25e35cc5437ceadcbc3ebffff 100644 (file)
@@ -55,6 +55,7 @@
 
 #include "stepper_at91.h"
 
+#include "cfg/cfg_stepper.h"
 #include <cfg/macros.h>
 #include <cfg/debug.h>
 
@@ -63,7 +64,6 @@
 
 #include <io/arm.h>
 
-#include "appconfig.h"
 
 /*
  * Delay to set C compare to clear output
@@ -362,7 +362,7 @@ void stepper_tc_setup(int index, stepper_isr_t callback, struct Stepper *motor)
        *motor->timer->comp_c_reg = 0;
 
        //Register interrupt vector
-       cpuflags_t flags;
+       cpu_flags_t flags;
        IRQ_SAVE_DISABLE(flags);
 
        /*