Commit e7790297 authored by thales's avatar thales

Add if for pause in real mac axis driver

parent 05bf9852
......@@ -335,8 +335,11 @@ void RealMacAxisDriver::readStatus() {
owner()->commandProgression = PROGRESSION_END_DEVICE_CONTAINER;
}
}
else if (owner()->pauseActivated == true) {
owner()->calculateProgression();
}
else if (owner()->actualCommand == POSITION_MOVE_COMMAND) {
if ((owner()->pauseActivated == true) || (com != 0)) {
if (com != 0) {
if (com == POSITION_MOVE_COMMAND) {
owner()->calculateProgression();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment