projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add foldback for at91 i2c for nightly test.
[bertos.git]
/
bertos
/
hw
/
hw_stepper.h
diff --git
a/bertos/hw/hw_stepper.h
b/bertos/hw/hw_stepper.h
index 12146ca0c60009d1a7fb9a8ed25b2d96193bc85b..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.
@@
-142,7
+141,7
@@
do { \
/*
* Set control status macro
*/
/*
* Set control status macro
*/
-#warning This macro is not implemented (see below)
+#warning T
ODO: T
his macro is not implemented (see below)
#define STEPPER_SET_CONTROL_BIT_MACRO(index, flag) do { \
/* if (flag) */ \
#define STEPPER_SET_CONTROL_BIT_MACRO(index, flag) do { \
/* if (flag) */ \
@@
-154,7
+153,7
@@
do { \
/*
* Set current power macro
*/
/*
* Set current power macro
*/
-#warning This macro is not implemented (see below)
+#warning T
ODO: T
his macro is not implemented (see below)
#define STEPPER_SET_POWER_CURRENT_MACRO(index, flag) do { \
/* if (flag) */ \
#define STEPPER_SET_POWER_CURRENT_MACRO(index, flag) do { \
/* if (flag) */ \
@@
-305,3
+304,5
@@
do { \
} while (0)
#endif /* HW_STEPPER_H */
} while (0)
#endif /* HW_STEPPER_H */
+
+