Implement NO_MOTION_BEFORE_HOMING option
This commit is contained in:
parent
965b0ab53e
commit
90af1fe5ee
8 changed files with 35 additions and 19 deletions
|
@ -33,7 +33,7 @@
|
|||
* G42: Move X & Y axes to mesh coordinates (I & J)
|
||||
*/
|
||||
void GcodeSuite::G42() {
|
||||
if (IsRunning()) {
|
||||
if (MOTION_CONDITIONS) {
|
||||
const bool hasI = parser.seenval('I');
|
||||
const int8_t ix = hasI ? parser.value_int() : 0;
|
||||
const bool hasJ = parser.seenval('J');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue