Increment MMU error count with every new error ocurred
parent
cecb659564
commit
d2ba215580
|
|
@ -189,6 +189,7 @@ bool CommandBase::CheckToolIndex(uint8_t index) {
|
||||||
void CommandBase::ErrDisengagingIdler() {
|
void CommandBase::ErrDisengagingIdler() {
|
||||||
if (!mi::idler.Engaged()) {
|
if (!mi::idler.Engaged()) {
|
||||||
state = ProgressCode::ERRWaitingForUser;
|
state = ProgressCode::ERRWaitingForUser;
|
||||||
|
mg::globals.IncDriveErrors();
|
||||||
mpu::pulley.Disable();
|
mpu::pulley.Disable();
|
||||||
mui::userInput.Clear(); // remove all buffered events if any just before we wait for some input
|
mui::userInput.Clear(); // remove all buffered events if any just before we wait for some input
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue