M110 fix (PR #137 from thess)

This commit is contained in:
PavelSindler 2017-07-21 17:30:19 +02:00
commit b3ff1fd947
1 changed files with 7 additions and 1 deletions

View File

@ -4341,7 +4341,13 @@ Sigma_Exit:
}
}
}
break;
break;
case 110: // M110 - reset line pos
if (code_seen('N'))
gcode_LastN = code_value_long();
else
gcode_LastN = 0;
break;
case 115: // M115
if (code_seen('V')) {
// Report the Prusa version number.