This commit is contained in:
2024-02-09 08:57:25 +01:00
parent c270a764f2
commit 2d32523317
5 changed files with 33 additions and 22 deletions

View File

@ -164,8 +164,8 @@ void Program::loop() {
}
this->grbl->mouveForward(CONVOYER_LEN);
} else {
if((this->grbl->isIddle() || (maintenant - this->grblUpdateTime >= GRBL_UPDATE)) && lcdScreen->get_components().grbl == COMPONENT_OK){
this->grblUpdateTime = maintenant;
if((this->grbl->isIddle()) && lcdScreen->get_components().grbl == COMPONENT_OK){
//this->grblUpdateTime = maintenant;
this->grbl->mouveForward(5);
}
}