Skip to content

Commit 813ebe9

Browse files
committed
update
1 parent 9a9fce7 commit 813ebe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/servo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ fn main() {
1616
writeln!(Console::writer(), "The driver could not be found").unwrap();
1717
return;
1818
}
19-
let servo_count = Servo::servo_count().unwrap();
19+
let count = Servo::count().unwrap();
2020

2121
writeln!(
2222
Console::writer(),
2323
"The number of available servomotors is {:?}",
24-
servo_count
24+
count
2525
)
2626
.unwrap();
2727

0 commit comments

Comments
 (0)