Skip to content

Commit fc280bb

Browse files
committed
Update to match method name change in name in core
1 parent 04b9322 commit fc280bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renesas/Servo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static int servo_timer_config(uint32_t period_us)
8181
// lets initially configure the servo to 50ms
8282
servo_timer.begin(TIMER_MODE_PERIODIC, type, channel,
8383
1000000.0f/period_us, 50.0f, servo_timer_callback, nullptr);
84-
servo_timer.use_period_buffer(false); // disable period buffering
84+
servo_timer.set_period_buffer(false); // disable period buffering
8585
servo_timer.setup_overflow_irq(10);
8686
servo_timer.open();
8787
servo_timer.stop();

0 commit comments

Comments
 (0)