From 813ebe9471cf27b00094ce69169ae6750c44fd1d Mon Sep 17 00:00:00 2001 From: inesmaria08 Date: Tue, 15 Oct 2024 12:25:33 +0300 Subject: [PATCH] update --- examples/servo.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/servo.rs b/examples/servo.rs index 039fdb2c..83c44ab1 100644 --- a/examples/servo.rs +++ b/examples/servo.rs @@ -16,12 +16,12 @@ fn main() { writeln!(Console::writer(), "The driver could not be found").unwrap(); return; } - let servo_count = Servo::servo_count().unwrap(); + let count = Servo::count().unwrap(); writeln!( Console::writer(), "The number of available servomotors is {:?}", - servo_count + count ) .unwrap();