Browse Source

Merge pull request #3495 from jbrazio/bugfix/followup-3485

Throw an error if ENCODER_PULSES_PER_STEP < -1
pull/1/head
Scott Lahteine 8 years ago
parent
commit
9e95f30de0
  1. 4
      Marlin/SanityCheck.h

4
Marlin/SanityCheck.h

@ -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
*/

Loading…
Cancel
Save