From f57bb99b4147d881a7d53665742c9f5200e7317c Mon Sep 17 00:00:00 2001 From: Jairo Date: Sat, 11 Aug 2012 19:46:46 -0500 Subject: [PATCH] Use ESC_PPM prescale factor --- esc-control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esc-control.cpp b/esc-control.cpp index 2e98550..e2883d0 100644 --- a/esc-control.cpp +++ b/esc-control.cpp @@ -18,7 +18,7 @@ void esc_init() timer1.setMode(TIMER_CH1, TIMER_PWM); timer1.setMode(TIMER_CH2, TIMER_PWM); timer1.setMode(TIMER_CH3, TIMER_PWM); - timer1.setPrescaleFactor(SERVO_PPM_TIMER_PRESCALE_FACTOR); + timer1.setPrescaleFactor(ESC_PPM_TIMER_PRESCALE_FACTOR); // Set throttle to minimum for(int i=0;i<3;i++)