Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 150a40b

Browse files
committedJul 21, 2024·
error in exampels
1 parent b2647a6 commit 150a40b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎examples/motion_control/open_loop_motor_control/open_loop_velocity_example/open_loop_velocity_example.ino

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ void setup() {
5353
motor.controller = MotionControlType::velocity_openloop;
5454

5555
// init motor hardware
56-
if(!motor.init()){
57-
Serial.println("Motor init failed!");
58-
return;
59-
}
60-
56+
motor.init();
6157

6258
// add target command T
6359
command.add('T', doTarget, "target velocity");

0 commit comments

Comments
 (0)
Please sign in to comment.