projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sam3x-ek: set system clock at 84 MHz
[bertos.git]
/
bertos
/
drv
/
dc_motor.c
diff --git
a/bertos/drv/dc_motor.c
b/bertos/drv/dc_motor.c
index 75a05f3445d34aaf0b3fc02959b54332619aa83d..bd0dd0a465d7feafe115bfa8cab64daa758f8009 100644
(file)
--- a/
bertos/drv/dc_motor.c
+++ b/
bertos/drv/dc_motor.c
@@
-192,7
+192,7
@@
static void dc_motor_do(int index)
DC_MOTOR_LOCK;
//If select DC motor is not active we return
- if (!
dcm->status & DC_MOTOR_ACTIVE
)
+ if (!
(dcm->status & DC_MOTOR_ACTIVE)
)
{
DC_MOTOR_UNLOCK;
return;