projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use static method for create the messagebox
[bertos.git]
/
bertos
/
drv
/
dc_motor.c
diff --git
a/bertos/drv/dc_motor.c
b/bertos/drv/dc_motor.c
index 1df0083e7a95c0c9150d929c653b13e552b916a2..98cb7380e5d5c9d713950d4c0bf3fd216712645d 100644
(file)
--- a/
bertos/drv/dc_motor.c
+++ b/
bertos/drv/dc_motor.c
@@
-41,7
+41,7
@@
*/
#include "dc_motor.h"
*/
#include "dc_motor.h"
-#include "hw_dc_motor.h"
+#include "hw
/hw
_dc_motor.h"
#include <algo/pid_control.h>
#include <algo/pid_control.h>
@@
-65,7
+65,7
@@
static DCMotor dcm_all[CONFIG_NUM_DC_MOTOR];
/// Stack process for DC motor poll.
static DCMotor dcm_all[CONFIG_NUM_DC_MOTOR];
/// Stack process for DC motor poll.
-static cpustack_t dc_motor_poll_stack[200];
+static cpu
_
stack_t dc_motor_poll_stack[200];
///< Sample period for all DC motor.
static mtime_t sample_period;
///< Sample period for all DC motor.
static mtime_t sample_period;