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_L_.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'analog/motor-power-avr/src/mp_pwm_L_.c') diff --git a/analog/motor-power-avr/src/mp_pwm_L_.c b/analog/motor-power-avr/src/mp_pwm_L_.c index a9e49943..13f49729 100644 --- a/analog/motor-power-avr/src/mp_pwm_L_.c +++ b/analog/motor-power-avr/src/mp_pwm_L_.c @@ -35,7 +35,7 @@ void init_pwm_L_ (void) { } // PWM rising edge on timer overflow IT -ISR(L_OVF_vect) { +ISR(OVF_L_vect) { // programs the state which is ordered by the core code state_L_ = state_L_cmd; @@ -111,7 +111,7 @@ ISR(L_OVF_vect) { } // PWM falling edge on timer compare IT -ISR(L_COMP_vect) { +ISR(COMP_L_vect) { // PC = PC + state_L_; TODO :saut calculé ? switch (state_L_) -- cgit v1.2.3