Browse Source

Fix Ender 3 V2 encoder (#20784)

vanilla_fb_2.0.x
Jelmer van der Stel 4 years ago
committed by Scott Lahteine
parent
commit
fd6501207f
  1. 3
      Marlin/src/lcd/dwin/e3v2/dwin.cpp

3
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;
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