Throw an error if ENCODER_PULSES_PER_STEP < -1
This commit is contained in:
parent
525d8256d4
commit
9a3f676709
1 changed files with 4 additions and 0 deletions
|
@ -290,6 +290,10 @@
|
|||
#error ULTIPANEL requires some kind of encoder.
|
||||
#endif
|
||||
|
||||
#if ENCODER_PULSES_PER_STEP < 0
|
||||
#error ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Delta has limited bed leveling options
|
||||
*/
|
||||
|
|
Reference in a new issue