SOFT_RESET_VIA_SERIAL sanity-check
This commit is contained in:
parent
5d0e94c11c
commit
64a7dfbe7d
@ -2215,8 +2215,11 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
|||||||
#endif
|
#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)
|
#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!"
|
#error "An encoder button is required or SOFT_RESET_ON_KILL will reset the printer without notice!"
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user