Ender-3 V2 with Jyers UI (#22422)

This commit is contained in:
Jyers
2021-09-06 21:06:27 -07:00
committed by Scott Lahteine
parent 9d73fcb959
commit 54416f780d
29 changed files with 6575 additions and 40 deletions

View File

@ -122,8 +122,13 @@ ENCODER_DiffState Encoder_ReceiveAnalyze() {
}
if (ABS(temp_diff) >= ENCODER_PULSES_PER_STEP) {
if (temp_diff > 0) temp_diffState = ENCODER_DIFF_CW;
else temp_diffState = ENCODER_DIFF_CCW;
#if ENABLED(REVERSE_ENCODER_DIRECTION)
if (temp_diff > 0) temp_diffState = ENCODER_DIFF_CCW;
else temp_diffState = ENCODER_DIFF_CW;
#else
if (temp_diff > 0) temp_diffState = ENCODER_DIFF_CW;
else temp_diffState = ENCODER_DIFF_CCW;
#endif
#if ENABLED(ENCODER_RATE_MULTIPLIER)