summaryrefslogtreecommitdiffhomepage
path: root/analog/motor-power-avr/src
diff options
context:
space:
mode:
authorGuillaume Chevillot2008-03-07 09:02:05 +0100
committerGuillaume Chevillot2008-03-07 09:02:05 +0100
commit843d33f0567d6885bac39e2848cfca53ce751ffc (patch)
treed6b02ec69ad4fbd9f19ecf2c41e67d15ae9e2c24 /analog/motor-power-avr/src
parent68b005873fe336921173c4d577c8726c4206e249 (diff)
Make command to High-Z state works
Diffstat (limited to 'analog/motor-power-avr/src')
-rw-r--r--analog/motor-power-avr/src/mp_pwm_L_.c2
-rw-r--r--analog/motor-power-avr/src/mp_pwm_R_.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/analog/motor-power-avr/src/mp_pwm_L_.c b/analog/motor-power-avr/src/mp_pwm_L_.c
index 13f49729..31d1235e 100644
--- a/analog/motor-power-avr/src/mp_pwm_L_.c
+++ b/analog/motor-power-avr/src/mp_pwm_L_.c
@@ -202,5 +202,5 @@ void start_motor_L_ (uint8_t pwmspeed, uint8_t direction) {
// puts motor in high Z
void stop_motor_L_ (void) {
- state_L_ = CMD_STATE_HIGH_Z;
+ state_L_cmd = CMD_STATE_HIGH_Z;
}
diff --git a/analog/motor-power-avr/src/mp_pwm_R_.c b/analog/motor-power-avr/src/mp_pwm_R_.c
index 5e2a4ea2..a66645b1 100644
--- a/analog/motor-power-avr/src/mp_pwm_R_.c
+++ b/analog/motor-power-avr/src/mp_pwm_R_.c
@@ -202,5 +202,5 @@ void start_motor_R_ (uint8_t pwmspeed, uint8_t direction) {
// puts motor in high Z
void stop_motor_R_ (void) {
- state_R_ = CMD_STATE_HIGH_Z;
+ state_R_cmd = CMD_STATE_HIGH_Z;
}