Configurable number of M106 fans (#18883)

This commit is contained in:
Giuliano Zaro
2020-08-20 03:11:20 +02:00
committed by GitHub
parent 64e181979c
commit 3426c7fc94
5 changed files with 32 additions and 5 deletions

View File

@ -1106,6 +1106,13 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#error "FANMUX0_PIN and FANMUX1_PIN must be set before FANMUX2_PIN can be set."
#endif
/**
* Limited user-controlled fans
*/
#if NUM_M106_FANS > FAN_COUNT
#error "The selected board doesn't support enough user-controlled fans. Reduce NUM_M106_FANS."
#endif
/**
* Limited number of servos
*/