Kaynağa Gözat

Limit top bed temp to BED_MAXTEMP - 10

The chances of a 10° overshoot is pretty minimal.
Scott Lahteine 5 yıl önce
ebeveyn
işleme
e52bcc9408

+ 2
- 2
Marlin/src/gcode/bedlevel/G26.cpp Dosyayı Görüntüle

@@ -571,8 +571,8 @@ void GcodeSuite::G26() {
571 571
 
572 572
   if (parser.seenval('B')) {
573 573
     g26_bed_temp = parser.value_celsius();
574
-    if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 15))) {
575
-      SERIAL_ECHOLNPAIR("?Specified bed temperature not plausible (40-", int(BED_MAXTEMP - 15), "C).");
574
+    if (g26_bed_temp && !WITHIN(g26_bed_temp, 40, (BED_MAXTEMP - 10))) {
575
+      SERIAL_ECHOLNPAIR("?Specified bed temperature not plausible (40-", int(BED_MAXTEMP - 10), "C).");
576 576
       return;
577 577
     }
578 578
   }

+ 1
- 1
Marlin/src/gcode/lcd/M145.cpp Dosyayı Görüntüle

@@ -52,7 +52,7 @@ void GcodeSuite::M145() {
52 52
     #if TEMP_SENSOR_BED != 0
53 53
       if (parser.seenval('B')) {
54 54
         v = parser.value_int();
55
-        ui.preheat_bed_temp[material] = constrain(v, BED_MINTEMP, BED_MAXTEMP - 15);
55
+        ui.preheat_bed_temp[material] = constrain(v, BED_MINTEMP, BED_MAXTEMP - 10);
56 56
       }
57 57
     #endif
58 58
   }

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp Dosyayı Görüntüle

@@ -609,7 +609,7 @@ namespace ExtUI {
609 609
     const int16_t e = heater - H0;
610 610
     #if HAS_HEATED_BED
611 611
       if (heater == BED)
612
-        thermalManager.setTargetBed(clamp(value, 0, BED_MAXTEMP - 15));
612
+        thermalManager.setTargetBed(clamp(value, 0, BED_MAXTEMP - 10));
613 613
       else
614 614
     #endif
615 615
         thermalManager.setTargetHotend(clamp(value, 0, heater_maxtemp[e] - 15), e);

+ 1
- 1
Marlin/src/lcd/menu/menu_configuration.cpp Dosyayı Görüntüle

@@ -238,7 +238,7 @@ static void lcd_factory_settings() {
238 238
       MENU_ITEM_EDIT(int3, MSG_NOZZLE, &ui.preheat_hotend_temp[material], MINTEMP_ALL, MAXTEMP_ALL - 15);
239 239
     #endif
240 240
     #if HAS_HEATED_BED
241
-      MENU_ITEM_EDIT(int3, MSG_BED, &ui.preheat_bed_temp[material], BED_MINTEMP, BED_MAXTEMP - 15);
241
+      MENU_ITEM_EDIT(int3, MSG_BED, &ui.preheat_bed_temp[material], BED_MINTEMP, BED_MAXTEMP - 10);
242 242
     #endif
243 243
     #if ENABLED(EEPROM_SETTINGS)
244 244
       MENU_ITEM(function, MSG_STORE_EEPROM, lcd_store_settings);

+ 1
- 1
Marlin/src/lcd/menu/menu_temperature.cpp Dosyayı Görüntüle

@@ -380,7 +380,7 @@ void menu_temperature() {
380 380
   // Bed:
381 381
   //
382 382
   #if HAS_HEATED_BED
383
-    MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_BED, &thermalManager.temp_bed.target, 0, BED_MAXTEMP - 5, thermalManager.start_watching_bed);
383
+    MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_BED, &thermalManager.temp_bed.target, 0, BED_MAXTEMP - 10, thermalManager.start_watching_bed);
384 384
   #endif
385 385
 
386 386
   //

+ 1
- 1
Marlin/src/lcd/menu/menu_tune.cpp Dosyayı Görüntüle

@@ -143,7 +143,7 @@ void menu_tune() {
143 143
   // Bed:
144 144
   //
145 145
   #if HAS_HEATED_BED
146
-    MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_BED, &thermalManager.temp_bed.target, 0, BED_MAXTEMP - 15, thermalManager.start_watching_bed);
146
+    MENU_MULTIPLIER_ITEM_EDIT_CALLBACK(int3, MSG_BED, &thermalManager.temp_bed.target, 0, BED_MAXTEMP - 10, thermalManager.start_watching_bed);
147 147
   #endif
148 148
 
149 149
   //

+ 1
- 1
Marlin/src/lcd/menu/menu_ubl.cpp Dosyayı Görüntüle

@@ -131,7 +131,7 @@ void _lcd_ubl_custom_mesh() {
131 131
   MENU_BACK(MSG_UBL_BUILD_MESH_MENU);
132 132
   MENU_ITEM_EDIT(int3, MSG_UBL_HOTEND_TEMP_CUSTOM, &custom_hotend_temp, EXTRUDE_MINTEMP, (HEATER_0_MAXTEMP - 10));
133 133
   #if HAS_HEATED_BED
134
-    MENU_ITEM_EDIT(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 15));
134
+    MENU_ITEM_EDIT(int3, MSG_UBL_BED_TEMP_CUSTOM, &custom_bed_temp, BED_MINTEMP, (BED_MAXTEMP - 10));
135 135
   #endif
136 136
   MENU_ITEM(function, MSG_UBL_BUILD_CUSTOM_MESH, _lcd_ubl_build_custom_mesh);
137 137
   END_MENU();

+ 1
- 1
Marlin/src/module/temperature.h Dosyayı Görüntüle

@@ -632,7 +632,7 @@ class Temperature {
632 632
         #endif
633 633
         temp_bed.target =
634 634
           #ifdef BED_MAXTEMP
635
-            MIN(celsius, BED_MAXTEMP - 15)
635
+            MIN(celsius, BED_MAXTEMP - 10)
636 636
           #else
637 637
             celsius
638 638
           #endif

Loading…
İptal
Kaydet