Skip to content

Commit

Permalink
Use ESC_PPM prescale factor
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjairo committed Aug 12, 2012
1 parent 0fdb31b commit f57bb99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esc-control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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++)
Expand Down

0 comments on commit f57bb99

Please sign in to comment.