✨ Ender-3 V2 with Jyers UI (#22422)
This commit is contained in:
1 parent
9d73fcb959
commit
54416f780d
29 files changed
+6575
-40
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user