|
@@ -169,17 +169,10 @@ void menu_cancelobject();
|
169
|
169
|
#if ENABLED(PID_AUTOTUNE_MENU)
|
170
|
170
|
|
171
|
171
|
#if ENABLED(PIDTEMP)
|
172
|
|
- #ifdef PREHEAT_1_TEMP_HOTEND
|
173
|
|
- #define PID_TUNE_TEMP PREHEAT_1_TEMP_HOTEND
|
174
|
|
- #else
|
175
|
|
- #define PID_TUNE_TEMP 200
|
176
|
|
- #endif
|
177
|
|
- int16_t autotune_temp[HOTENDS] = ARRAY_BY_HOTENDS1(PID_TUNE_TEMP);
|
178
|
|
- #undef PID_TUNE_TEMP
|
|
172
|
+ int16_t autotune_temp[HOTENDS] = ARRAY_BY_HOTENDS1(PREHEAT_1_TEMP_HOTEND);
|
179
|
173
|
#endif
|
180
|
|
-
|
181
|
174
|
#if ENABLED(PIDTEMPBED)
|
182
|
|
- int16_t autotune_temp_bed = 70;
|
|
175
|
+ int16_t autotune_temp_bed = PREHEAT_1_TEMP_BED;
|
183
|
176
|
#endif
|
184
|
177
|
|
185
|
178
|
#include "../../gcode/queue.h"
|
|
@@ -324,7 +317,7 @@ void menu_cancelobject();
|
324
|
317
|
#ifndef BED_OVERSHOOT
|
325
|
318
|
#define BED_OVERSHOOT 5
|
326
|
319
|
#endif
|
327
|
|
- EDIT_ITEM_FAST_N(int3, -1, MSG_PID_AUTOTUNE_E, &autotune_temp_bed, 70, BED_MAXTEMP - BED_OVERSHOOT, []{ _lcd_autotune(-1); });
|
|
320
|
+ EDIT_ITEM_FAST_N(int3, -1, MSG_PID_AUTOTUNE_E, &autotune_temp_bed, PREHEAT_1_TEMP_BED, BED_MAXTEMP - BED_OVERSHOOT, []{ _lcd_autotune(-1); });
|
328
|
321
|
#endif
|
329
|
322
|
#endif
|
330
|
323
|
|