Sanity check MIXING_EXTRUDER + DISTINCT_E_FACTORS (#21689)

This commit is contained in:
Vert 2021-04-24 06:35:02 -04:00 committed by Scott Lahteine
parent c6b6437761
commit 888cabff27

View File

@ -3298,6 +3298,13 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
#undef _CLEAN_ASSERT
#endif
/**
* Sanity check for MIXING_EXTRUDER & DISTINCT_E_FACTORS these are not compatible
*/
#if ENABLED(MIXING_EXTRUDER) && ENABLED(DISTINCT_E_FACTORS)
#error "MIXING_EXTRUDER can't be used with DISTINCT_E_FACTORS. But you may use SINGLENOZZLE with DISTINCT_E_FACTORS."
#endif
/**
* Sanity check for valid stepper driver types
*/