Add first implementation of sockect with kfile interface.
[bertos.git] / bertos / hw / hw_stepper.h
index 6b7cb34f5b268a627f2f162fa281bf8a16accd8f..b97bacba71988f22dd03abb6985c078a156dee8d 100644 (file)
@@ -32,7 +32,6 @@
  *
  * \brief Stepper hardware-specific definitions
  *
- * \version $Id$
  *
  * \author Daniele Basile <asterix@develer.com>
  */
@@ -41,7 +40,7 @@
 #ifndef HW_STEPPER_H
 #define HW_STEPPER_H
 
-#include "hw/hw_cpu.h"
+#include <hw/hw_cpufreq.h>
 
 #include <cfg/macros.h>
 
@@ -67,7 +66,7 @@ do { \
 /**
  * Stepper timer clock frequency.
  */
-#define STEPPER_CLOCK ((CLOCK_FREQ) >> STEPPER_PRESCALER_LOG2)
+#define STEPPER_CLOCK ((CPU_FREQ) >> STEPPER_PRESCALER_LOG2)
 
 /**
  * us delay to reset a stepper motor.
@@ -305,3 +304,5 @@ do { \
        } while (0)
 
 #endif /* HW_STEPPER_H */
+
+