From 11dcf9a380ac98b8cb9f25c61494b9ffba5780c6 Mon Sep 17 00:00:00 2001 From: Guillaume Chevillot Date: Thu, 6 Mar 2008 09:32:45 +0100 Subject: Add support of right side --- analog/motor-power-avr/src/mp_pwm_LR_.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'analog/motor-power-avr/src/mp_pwm_LR_.c') diff --git a/analog/motor-power-avr/src/mp_pwm_LR_.c b/analog/motor-power-avr/src/mp_pwm_LR_.c index 545aea38..e3ec252c 100644 --- a/analog/motor-power-avr/src/mp_pwm_LR_.c +++ b/analog/motor-power-avr/src/mp_pwm_LR_.c @@ -1,6 +1,7 @@ #include "common.h" #include "mp_pwm_LR_.h" #include "mp_pwm_L_.h" +#include "mp_pwm_R_.h" // Variables for current limitation static uint8_t curLim_temp; @@ -14,7 +15,7 @@ static uint8_t curLim_soft; void init_timer_LR_(void) { init_pwm_L_(); - //init_pwm_R_(); + init_pwm_R_(); TCNT_L_ = 0x00; TCNT_R_ = 0x80; // 180° phase shifted to TCNT_L -- cgit v1.2.3