Sanity check MIXING_EXTRUDER + DISTINCT_E_FACTORS (#21689)

This commit is contained in:
Vert 2021-04-24 06:35:02 -04:00 committed by GitHub
parent 836c4e0198
commit 3b8f83a5ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
*/