Skip to content

Commit 2d53acc

Browse files
committed
Remove string to char * warning
1 parent 30a72da commit 2d53acc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/communication/Commander.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class Commander
207207
* - velocity : velocity torque (ex.P10 2.5 or P10 to only chanage the target witout limits)
208208
* - angle : angle velocity torque (ex.P3.5 10 2.5 or P3.5 to only chanage the target witout limits)
209209
*/
210-
void target(FOCMotor* motor, char* user_cmd, char* separator = " ");
210+
void target(FOCMotor* motor, char* user_cmd, char* separator = (char *)" ");
211211

212212
/**
213213
* FOC motor (StepperMotor and BLDCMotor) motion control interfaces

0 commit comments

Comments
 (0)