Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
inesmaria08 committed Oct 15, 2024
1 parent 9a9fce7 commit 813ebe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/servo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 813ebe9

Please sign in to comment.