summaryrefslogtreecommitdiff
path: root/digital/mimot/src/dirty/pwm.avr.c
diff options
context:
space:
mode:
authorNicolas Schodet2011-04-19 21:26:15 +0200
committerNicolas Schodet2011-04-19 21:26:15 +0200
commit4cd9c4458eaa49c269171145f4bc2a184948eae1 (patch)
tree780cdc9493bfcfd2907a61cce62ff8a6f64a0c45 /digital/mimot/src/dirty/pwm.avr.c
parente2594ccdadae65d7e7473e51fb8bfbbd49c04a24 (diff)
digital/mimot: switch to differential drive
Diffstat (limited to 'digital/mimot/src/dirty/pwm.avr.c')
-rw-r--r--digital/mimot/src/dirty/pwm.avr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/digital/mimot/src/dirty/pwm.avr.c b/digital/mimot/src/dirty/pwm.avr.c
index 37ec34b0..dc43343f 100644
--- a/digital/mimot/src/dirty/pwm.avr.c
+++ b/digital/mimot/src/dirty/pwm.avr.c
@@ -27,9 +27,8 @@
#include "pwm_ocr.avr.h"
/** PWM control states. */
-struct pwm_t pwm_aux[AC_ASSERV_AUX_NB] = {
- PWM_INIT_FOR (pwm_aux0), PWM_INIT_FOR (pwm_aux1)
-};
+struct pwm_t pwm_left = PWM_INIT_FOR (pwm_left);
+struct pwm_t pwm_right = PWM_INIT_FOR (pwm_right);
/** PWM reverse directions. */
uint8_t pwm_reverse;