|
@@ -1057,12 +1057,12 @@
|
1057
|
1057
|
err_flag = true;
|
1058
|
1058
|
}
|
1059
|
1059
|
|
1060
|
|
- if (!WITHIN(RAW_X_POSITION(x_pos), UBL_MESH_MIN_X, UBL_MESH_MAX_X)) {
|
|
1060
|
+ if (!WITHIN(RAW_X_POSITION(x_pos), X_MIN_POS, X_MAX_POS)) {
|
1061
|
1061
|
SERIAL_PROTOCOLLNPGM("Invalid X location specified.\n");
|
1062
|
1062
|
err_flag = true;
|
1063
|
1063
|
}
|
1064
|
1064
|
|
1065
|
|
- if (!WITHIN(RAW_Y_POSITION(y_pos), UBL_MESH_MIN_Y, UBL_MESH_MAX_Y)) {
|
|
1065
|
+ if (!WITHIN(RAW_Y_POSITION(y_pos), Y_MIN_POS, Y_MAX_POS)) {
|
1066
|
1066
|
SERIAL_PROTOCOLLNPGM("Invalid Y location specified.\n");
|
1067
|
1067
|
err_flag = true;
|
1068
|
1068
|
}
|