mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 14:50:58 +00:00
Fix G26 Y position argument
This commit is contained in:
parent
279b73fecd
commit
97a43f0c2f
1 changed files with 1 additions and 1 deletions
|
@ -731,7 +731,7 @@
|
|||
}
|
||||
|
||||
g26_x_pos = parser.seenval('X') ? RAW_X_POSITION(parser.value_linear_units()) : current_position[X_AXIS];
|
||||
g26_y_pos = parser.seenval('Y') ? RAW_X_POSITION(parser.value_linear_units()) : current_position[Y_AXIS];
|
||||
g26_y_pos = parser.seenval('Y') ? RAW_Y_POSITION(parser.value_linear_units()) : current_position[Y_AXIS];
|
||||
if (!position_is_reachable(g26_x_pos, g26_y_pos)) {
|
||||
SERIAL_PROTOCOLLNPGM("?Specified X,Y coordinate out of bounds.");
|
||||
return UBL_ERR;
|
||||
|
|
Loading…
Reference in a new issue