summaryrefslogtreecommitdiffhomepage
path: root/analog/motor-power-avr/src/mp_pwm_LR_.c
diff options
context:
space:
mode:
authorGuillaume Chevillot2008-03-06 09:32:45 +0100
committerGuillaume Chevillot2008-03-06 09:32:45 +0100
commit11dcf9a380ac98b8cb9f25c61494b9ffba5780c6 (patch)
tree12226a4c0a07891e8d6603cb253df65a218acfb3 /analog/motor-power-avr/src/mp_pwm_LR_.c
parent0de7df3fdc1360c60d029fb8ed623c60f9099623 (diff)
Add support of right side
Diffstat (limited to 'analog/motor-power-avr/src/mp_pwm_LR_.c')
-rw-r--r--analog/motor-power-avr/src/mp_pwm_LR_.c3
1 files changed, 2 insertions, 1 deletions
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