Followup for I2C_POSITION_ENCODERS

This commit is contained in:
Scott Lahteine 2017-06-09 10:22:49 -05:00
parent f4246dc8ff
commit fc140c4962
7 changed files with 352 additions and 321 deletions

View file

@ -276,9 +276,7 @@
#if ENABLED(I2C_POSITION_ENCODERS)
#if DISABLED(BABYSTEPPING)
#error "I2C_POSITION_ENCODERS requires BABYSTEPPING."
#endif
#if I2CPE_ENCODER_CNT > 5 || I2CPE_ENCODER_CNT < 1
#elif !WITHIN(I2CPE_ENCODER_CNT, 1, 5)
#error "I2CPE_ENCODER_CNT must be between 1 and 5."
#endif
#endif