Fix Ender 3 V2 encoder (#20784)

2.0.x
Jelmer van der Stel 4 years ago committed by GitHub
parent 49e252df03
commit 9dba7cd371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -502,8 +502,7 @@ inline bool Apply_Encoder(const ENCODER_DiffState &encoder_diffState, auto &valr
valref += EncoderRate.encoderMoveValue;
else if (encoder_diffState == ENCODER_DIFF_CCW)
valref -= EncoderRate.encoderMoveValue;
else if (encoder_diffState == ENCODER_DIFF_ENTER)
return true;
return encoder_diffState == ENCODER_DIFF_ENTER;
}
//

Loading…
Cancel
Save