Have G92 set the nozzle position on Delta and SCARA

This commit is contained in:
Scott Lahteine 2015-05-17 17:08:05 -07:00
parent c5feb9c6a1
commit 3feaef6526

View File

@ -2827,7 +2827,13 @@ inline void gcode_G92() {
didXYZ = true; didXYZ = true;
} }
} }
if (didXYZ) sync_plan_position(); if (didXYZ) {
#if defined(DELTA) || defined(SCARA)
sync_plan_position_delta();
#else
sync_plan_position();
#endif
}
} }
#ifdef ULTIPANEL #ifdef ULTIPANEL