From fc280bbc69246d66cb08b7e38c756ef804ce0ede Mon Sep 17 00:00:00 2001 From: kurte Date: Tue, 12 Sep 2023 05:09:37 -0700 Subject: [PATCH] Update to match method name change in name in core --- src/renesas/Servo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renesas/Servo.cpp b/src/renesas/Servo.cpp index 05134a1..524259f 100644 --- a/src/renesas/Servo.cpp +++ b/src/renesas/Servo.cpp @@ -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();