🎨 Adjust some conditionals

This commit is contained in:
Scott Lahteine
2021-06-10 02:05:04 -05:00
parent 967942460e
commit c9a3ba99be
9 changed files with 25 additions and 18 deletions

View File

@ -24,7 +24,7 @@
#include "../../inc/MarlinConfigPre.h"
#if EITHER(RESTORE_LEVELING_AFTER_G28, ENABLE_LEVELING_AFTER_G28)
#define G28_L0_ENSURES_LEVELING_OFF 1
#define CAN_SET_LEVELING_AFTER_G28 1
#endif
#if ENABLED(PROBE_MANUALLY)

View File

@ -88,7 +88,7 @@ typedef struct {
uint8_t fan_speed[FAN_COUNT];
#endif
#if ENABLED(HAS_LEVELING)
#if HAS_LEVELING
float fade;
#endif
@ -120,7 +120,7 @@ typedef struct {
bool raised:1; // Raised before saved
bool dryrun:1; // M111 S8
bool allow_cold_extrusion:1; // M302 P1
#if ENABLED(HAS_LEVELING)
#if HAS_LEVELING
bool leveling:1; // M420 S
#endif
#if DISABLED(NO_VOLUMETRICS)