Jelmer van der Stel
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
Marlin/src/lcd/dwin/e3v2/dwin.cpp
|
@ -502,8 +502,7 @@ inline bool Apply_Encoder(const ENCODER_DiffState &encoder_diffState, auto &valr |
|
|
valref += EncoderRate.encoderMoveValue; |
|
|
valref += EncoderRate.encoderMoveValue; |
|
|
else if (encoder_diffState == ENCODER_DIFF_CCW) |
|
|
else if (encoder_diffState == ENCODER_DIFF_CCW) |
|
|
valref -= EncoderRate.encoderMoveValue; |
|
|
valref -= EncoderRate.encoderMoveValue; |
|
|
else if (encoder_diffState == ENCODER_DIFF_ENTER) |
|
|
return encoder_diffState == ENCODER_DIFF_ENTER; |
|
|
return true; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
//
|
|
|
//
|
|
|