Fix servo count define conflict

`MAX_SERVOS` => `NUM_SERVO_PLUGS`
This commit is contained in:
Scott Lahteine
2018-09-11 16:20:12 -05:00
parent 06949ae510
commit 8584d3697d
3 changed files with 6 additions and 6 deletions

View File

@ -756,7 +756,7 @@ static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,
/**
* Limited number of servos
*/
#if NUM_SERVOS > MAX_SERVOS
#if NUM_SERVOS > NUM_SERVO_PLUGS
#error "The selected board doesn't support enough servos for your configuration. Reduce NUM_SERVOS."
#endif