We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b9322 commit fc280bbCopy full SHA for fc280bb
src/renesas/Servo.cpp
@@ -81,7 +81,7 @@ static int servo_timer_config(uint32_t period_us)
81
// lets initially configure the servo to 50ms
82
servo_timer.begin(TIMER_MODE_PERIODIC, type, channel,
83
1000000.0f/period_us, 50.0f, servo_timer_callback, nullptr);
84
- servo_timer.use_period_buffer(false); // disable period buffering
+ servo_timer.set_period_buffer(false); // disable period buffering
85
servo_timer.setup_overflow_irq(10);
86
servo_timer.open();
87
servo_timer.stop();
0 commit comments