fix grbl lib compile

This commit is contained in:
2024-01-18 15:01:41 +01:00
parent caa5b0ceb7
commit cfffa667b6
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ void GRBL::init(int speed, double pas, int accel, String mode){
Serial.println(s);
}
void GRBL::mouveForward(int mm = 5){
void GRBL::mouveForward(int mm){
char s[1024];
sprintf(s, "G1 X%d", mm);
this->grbl->sendGcode(s);