|
|
@ -569,6 +569,7 @@ void GcodeSuite::G26() {
|
|
|
|
bool g26_continue_with_closest = parser.boolval('C'),
|
|
|
|
bool g26_continue_with_closest = parser.boolval('C'),
|
|
|
|
g26_keep_heaters_on = parser.boolval('K');
|
|
|
|
g26_keep_heaters_on = parser.boolval('K');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if HAS_HEATED_BED
|
|
|
|
if (parser.seenval('B')) {
|
|
|
|
if (parser.seenval('B')) {
|
|
|
|
g26_bed_temp = parser.value_celsius();
|
|
|
|
g26_bed_temp = parser.value_celsius();
|
|
|
|
if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 10))) {
|
|
|
|
if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 10))) {
|
|
|
@ -576,6 +577,7 @@ void GcodeSuite::G26() {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (parser.seenval('L')) {
|
|
|
|
if (parser.seenval('L')) {
|
|
|
|
g26_layer_height = parser.value_linear_units();
|
|
|
|
g26_layer_height = parser.value_linear_units();
|
|
|
|