Browse Source

SOFT_RESET_VIA_SERIAL sanity-check

vanilla_fb_2.0.x
Scott Lahteine 3 years ago
parent
commit
64a7dfbe7d
  1. 5
      Marlin/src/inc/SanityCheck.h

5
Marlin/src/inc/SanityCheck.h

@ -2215,8 +2215,11 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
#endif
/**
* Software Reset on Kill option
* Software Reset options
*/
#if ENABLED(SOFT_RESET_VIA_SERIAL) && DISABLED(EMERGENCY_PARSER)
#error "EMERGENCY_PARSER is required to activate SOFT_RESET_VIA_SERIAL."
#endif
#if ENABLED(SOFT_RESET_ON_KILL) && !BUTTON_EXISTS(ENC)
#error "An encoder button is required or SOFT_RESET_ON_KILL will reset the printer without notice!"
#endif

Loading…
Cancel
Save