Skip to content

Commit

Permalink
Sanity check MIXING_EXTRUDER + DISTINCT_E_FACTORS (MarlinFirmware#21689)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vertabreak authored Apr 24, 2021
1 parent 836c4e0 commit 3b8f83a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Marlin/src/inc/SanityCheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 3b8f83a

Please sign in to comment.