Skip to content

Commit 91c5ca9

Browse files
committed
indent, etc
1 parent 5184a14 commit 91c5ca9

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

Marlin/src/inc/Conditionals_post.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3356,15 +3356,15 @@
33563356
// Set AUTOTEMP defaults
33573357
#if ENABLED(AUTOTEMP)
33583358
#ifndef AUTOTEMP_MAX
3359-
#define AUTOTEMP_MAX 250
3359+
#define AUTOTEMP_MAX 250
33603360
#endif
33613361
#ifndef AUTOTEMP_MIN
3362-
#define AUTOTEMP_MIN 210
3362+
#define AUTOTEMP_MIN 210
33633363
#endif
33643364
#ifndef AUTOTEMP_FACTOR
3365-
#define AUTOTEMP_FACTOR 0.1f
3365+
#define AUTOTEMP_FACTOR 0.1f
33663366
#endif
33673367
#ifndef AUTOTEMP_ENABLED
3368-
#define AUTOTEMP_ENABLED false
3368+
#define AUTOTEMP_ENABLED false
33693369
#endif
33703370
#endif

Marlin/src/module/settings.cpp

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,8 @@ void MarlinSettings::postprocess() {
868868
#if ENABLED(AUTOTEMP)
869869
_FIELD_TEST(planner_autotemp_max);
870870
EEPROM_WRITE(planner.autotemp_max);
871-
_FIELD_TEST(planner_autotemp_min);
872871
EEPROM_WRITE(planner.autotemp_min);
873-
_FIELD_TEST(planner_autotemp_factor);
874872
EEPROM_WRITE(planner.autotemp_factor);
875-
_FIELD_TEST(planner_autotemp_enabled);
876873
EEPROM_WRITE(planner.autotemp_enabled);
877874
#endif
878875

@@ -3034,10 +3031,10 @@ void MarlinSettings::reset() {
30343031
// AUTOTEMP
30353032
//
30363033
#if ENABLED(AUTOTEMP)
3037-
planner.autotemp_max = (AUTOTEMP_MAX);
3038-
planner.autotemp_min = (AUTOTEMP_MIN);
3039-
planner.autotemp_factor = (AUTOTEMP_FACTOR);
3040-
planner.autotemp_enabled = (AUTOTEMP_ENABLED);
3034+
planner.autotemp_max = AUTOTEMP_MAX;
3035+
planner.autotemp_min = AUTOTEMP_MIN;
3036+
planner.autotemp_factor = AUTOTEMP_FACTOR;
3037+
planner.autotemp_enabled = AUTOTEMP_ENABLED;
30413038
#endif
30423039

30433040
//

0 commit comments

Comments
 (0)