Followup for I2C_POSITION_ENCODERS
This commit is contained in:
parent
f4246dc8ff
commit
fc140c4962
7 changed files with 352 additions and 321 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue