projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
AT91SAM7: Increase flash access speed.
[bertos.git]
/
bertos
/
hw
/
hw_stepper.h
diff --git
a/bertos/hw/hw_stepper.h
b/bertos/hw/hw_stepper.h
index 6b7cb34f5b268a627f2f162fa281bf8a16accd8f..131411241c6e39ebf605b642dcc427096eb1c190 100644
(file)
--- a/
bertos/hw/hw_stepper.h
+++ b/
bertos/hw/hw_stepper.h
@@
-41,7
+41,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
+67,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.
@@
-305,3
+305,5
@@
do { \
} while (0)
#endif /* HW_STEPPER_H */
} while (0)
#endif /* HW_STEPPER_H */
+
+