Fix Ender 3 V2 encoder (#20784)
This commit is contained in:
parent
7f8188ccb6
commit
fd6501207f
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user