From 85c7e5bfab12e1c5a5e9cc2b5a2cac1f3acf0814 Mon Sep 17 00:00:00 2001 From: Guillaume Chevillot Date: Mon, 10 Mar 2008 21:15:02 +0100 Subject: Use of "Fast PWM" mode rather than "normal" mode for PWM timers --- analog/motor-power-avr/src/mp_pwm_LR_.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'analog/motor-power-avr/src/mp_pwm_LR_.h') diff --git a/analog/motor-power-avr/src/mp_pwm_LR_.h b/analog/motor-power-avr/src/mp_pwm_LR_.h index 7156dc8f..32a0f08a 100644 --- a/analog/motor-power-avr/src/mp_pwm_LR_.h +++ b/analog/motor-power-avr/src/mp_pwm_LR_.h @@ -102,7 +102,7 @@ // for 57.21kHz : prescaler = 0 : CSx2:0 = 0x01 // for 7.68kHz : prescaler = 8 : CSx2:0 = 0x02 #define TCCR_LR_CFG (regv (FOC0, WGM00, COM01, COM00, WGM01, CS02, CS01, CS00, \ - 0, 0, 0, 0, 0, 0, 1, 0)) + 0, 1, 0, 0, 1, 0, 1, 0)) // timer interrupts configuration #define TIMSK_LR_CFG (regv (OCIE2, TOIE2, TICIE1, OCIE1A, OCIE1B, TOIE1, OCIE0, TOIE0, \ -- cgit v1.2.3