projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
hw
/
hw_stepper.h
diff --git
a/bertos/hw/hw_stepper.h
b/bertos/hw/hw_stepper.h
index 23d1252ffbed45a6d322dbaeacffe390d3e4ca8f..b97bacba71988f22dd03abb6985c078a156dee8d 100644
(file)
--- a/
bertos/hw/hw_stepper.h
+++ b/
bertos/hw/hw_stepper.h
@@
-32,7
+32,6
@@
*
* \brief Stepper hardware-specific definitions
*
*
* \brief Stepper hardware-specific definitions
*
- * \version $Id$
*
* \author Daniele Basile <asterix@develer.com>
*/
*
* \author Daniele Basile <asterix@develer.com>
*/
@@
-41,7
+40,7
@@
#ifndef HW_STEPPER_H
#define HW_STEPPER_H
#ifndef HW_STEPPER_H
#define HW_STEPPER_H
-#include
"hw/hw_cpu.h"
+#include
<hw/hw_cpufreq.h>
#include <cfg/macros.h>
#include <cfg/macros.h>
@@
-67,7
+66,7
@@
do { \
/**
* Stepper timer clock frequency.
*/
/**
* Stepper timer clock frequency.
*/
-#define STEPPER_CLOCK ((C
LOCK
_FREQ) >> STEPPER_PRESCALER_LOG2)
+#define STEPPER_CLOCK ((C
PU
_FREQ) >> STEPPER_PRESCALER_LOG2)
/**
* us delay to reset a stepper motor.
/**
* us delay to reset a stepper motor.