Update SanityCheck.h
This commit is contained in:
parent
91c438fe25
commit
b3884f5057
1 changed files with 8 additions and 0 deletions
|
|
@ -3004,6 +3004,14 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
|||
#error "AUTO_POWER_CONTROL requires PSU_CONTROL."
|
||||
#endif
|
||||
|
||||
#if POWER_OFF_TIMEOUT > 0
|
||||
#if DISABLED(AUTO_POWER_CONTROL)
|
||||
#error "POWER_OFF_TIMEOUT requires AUTO_POWER_CONTROL"
|
||||
#endif
|
||||
#elif POWER_OFF_TIMEOUT < 0
|
||||
#error "POWER_OFF_TIMEOUT must be greater or equal 0"
|
||||
#endif
|
||||
|
||||
#if HAS_CUTTER
|
||||
#ifndef CUTTER_POWER_UNIT
|
||||
#error "CUTTER_POWER_UNIT is required with a spindle or laser. Please update your Configuration_adv.h."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue