Browse Source

Max temp/target followup

Scott Lahteine 4 years ago
parent
commit
a8ea6e6463
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/lcd/menu/menu_advanced.cpp

+ 2
- 2
Marlin/src/lcd/menu/menu_advanced.cpp View File

@@ -261,8 +261,8 @@ void menu_backlash();
261 261
     //
262 262
     #if BOTH(AUTOTEMP, HAS_TEMP_HOTEND)
263 263
       EDIT_ITEM(bool, MSG_AUTOTEMP, &planner.autotemp_enabled);
264
-      EDIT_ITEM(float3, MSG_MIN, &planner.autotemp_min, 0, float(HEATER_0_MAXTEMP) - HOTEND_OVERSHOOT);
265
-      EDIT_ITEM(float3, MSG_MAX, &planner.autotemp_max, 0, float(HEATER_0_MAXTEMP) - HOTEND_OVERSHOOT);
264
+      EDIT_ITEM(int3, MSG_MIN, &planner.autotemp_min, 0, thermalManager.hotend_max_target(0));
265
+      EDIT_ITEM(int3, MSG_MAX, &planner.autotemp_max, 0, thermalManager.hotend_max_target(0));
266 266
       EDIT_ITEM(float42_52, MSG_FACTOR, &planner.autotemp_factor, 0, 10);
267 267
     #endif
268 268
 

Loading…
Cancel
Save