Skip to content

Commit d1fafee

Browse files
committed
enabled based on dynamic state
1 parent acda6dc commit d1fafee

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

Marlin/src/lcd/menu/menu_advanced.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ void menu_backlash();
295295
// Autotemp, Min, Max, Fact
296296
//
297297
#if BOTH(AUTOTEMP, HAS_TEMP_HOTEND)
298-
EDIT_ITEM(bool, MSG_AUTOTEMP, &planner.autotemp_enabled);
299298
EDIT_ITEM(int3, MSG_MIN, &planner.autotemp_min, 0, thermalManager.hotend_max_target(0));
300299
EDIT_ITEM(int3, MSG_MAX, &planner.autotemp_max, 0, thermalManager.hotend_max_target(0));
301300
EDIT_ITEM(float42_52, MSG_FACTOR, &planner.autotemp_factor, 0, 10);

Marlin/src/module/planner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ skew_factor_t Planner::skew_factor; // Initialized by settings.load()
204204
celsius_t Planner::autotemp_min = AUTOTEMP_MIN,
205205
Planner::autotemp_max = AUTOTEMP_MAX;
206206
float Planner::autotemp_factor = AUTOTEMP_FACTOR;
207-
bool Planner::autotemp_enabled = AUTOTEMP_ENABLED;
207+
bool Planner::autotemp_enabled = false;
208208
#endif
209209

210210
// private:

Marlin/src/module/settings.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ typedef struct SettingsDataStruct {
249249
#if ENABLED(AUTOTEMP)
250250
celsius_t planner_autotemp_max, planner_autotemp_min;
251251
float planner_autotemp_factor;
252-
bool planner_autotemp_enabled;
253252
#endif
254253

255254
//
@@ -870,7 +869,6 @@ void MarlinSettings::postprocess() {
870869
EEPROM_WRITE(planner.autotemp_max);
871870
EEPROM_WRITE(planner.autotemp_min);
872871
EEPROM_WRITE(planner.autotemp_factor);
873-
EEPROM_WRITE(planner.autotemp_enabled);
874872
#endif
875873

876874
//
@@ -1828,7 +1826,6 @@ void MarlinSettings::postprocess() {
18281826
EEPROM_READ(planner.autotemp_max);
18291827
EEPROM_READ(planner.autotemp_min);
18301828
EEPROM_READ(planner.autotemp_factor);
1831-
EEPROM_READ(planner.autotemp_enabled);
18321829
#endif
18331830

18341831
//
@@ -3034,7 +3031,6 @@ void MarlinSettings::reset() {
30343031
planner.autotemp_max = AUTOTEMP_MAX;
30353032
planner.autotemp_min = AUTOTEMP_MIN;
30363033
planner.autotemp_factor = AUTOTEMP_FACTOR;
3037-
planner.autotemp_enabled = AUTOTEMP_ENABLED;
30383034
#endif
30393035

30403036
//

0 commit comments

Comments
 (0)