*
* \brief Stepper hardware-specific definitions
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*/
#ifndef HW_STEPPER_H
#define HW_STEPPER_H
-#include "hw/hw_cpu.h"
+#include <hw/hw_cpufreq.h>
#include <cfg/macros.h>
/**
* 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.
} while (0)
#endif /* HW_STEPPER_H */
+
+