Skip to content

Commit d684be1

Browse files
committed
typo in webcontroller code
1 parent 8adff3a commit d684be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/simplefoc_libraries/tools/webcontroller.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ void setup(){
7272
// add the motor to the commander interface
7373
// The letter id (here 'M') of the motor
7474
char motor_id = 'M';
75-
command.add(motor_id,doMotor,'motor');
75+
command.add(motor_id,doMotor,"motor");
7676
// tell the motor to use the monitoring
7777
motor.useMonitoring(Serial);
7878
// configuring the monitoring to be well parsed by the webcontroller
7979
motor.monitor_start_char = motor_id; // the same latter as the motor id in the commander
8080
motor.monitor_end_char = motor_id; // the same latter as the motor id in the commander
8181

82-
commander.verbose = VerboseMode::machine_readable; // can be set using the webcontroller - optional
82+
command.verbose = VerboseMode::machine_readable; // can be set using the webcontroller - optional
8383
...
8484

8585
}

0 commit comments

Comments
 (0)