Skip to content

Commit

Permalink
Update to match method name change in name in core
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtE committed Sep 12, 2023
1 parent 04b9322 commit fc280bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renesas/Servo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static int servo_timer_config(uint32_t period_us)
// lets initially configure the servo to 50ms
servo_timer.begin(TIMER_MODE_PERIODIC, type, channel,
1000000.0f/period_us, 50.0f, servo_timer_callback, nullptr);
servo_timer.use_period_buffer(false); // disable period buffering
servo_timer.set_period_buffer(false); // disable period buffering
servo_timer.setup_overflow_irq(10);
servo_timer.open();
servo_timer.stop();
Expand Down

0 comments on commit fc280bb

Please sign in to comment.