Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2020-03-11 11:43:26 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-03-11 11:43:26 +0300
commitdd31d9737d9f12dd3edcc648d99f373d98875f29 (patch)
tree3aa00463f541bf3e236ab009a5a82f1d653565ec /src/Display
parent170dad7479a229f0986ac610b8cade3ff0141870 (diff)
Increased version number because RRFLibraries was changed
Diffstat (limited to 'src/Display')
-rw-r--r--src/Display/RotaryEncoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Display/RotaryEncoder.cpp b/src/Display/RotaryEncoder.cpp
index 90995aed..7a220e27 100644
--- a/src/Display/RotaryEncoder.cpp
+++ b/src/Display/RotaryEncoder.cpp
@@ -45,7 +45,7 @@ void RotaryEncoder::Poll() noexcept
0, +1, -1, 0, // position 3 = 00 to 11, can't really do anything, so 0
-1, 0, -2, +1, // position 2 = 01 to 10, assume it was a bounce and should be 01 -> 00 -> 10
+1, +2, 0, -1, // position 1 = 10 to 01, assume it was a bounce and should be 10 -> 00 -> 01
- 0, -1, +1, 0 // position 0 = 11 to 10, can't really do anything
+ 0, -1, +1, 0 // position 0 = 11 to 00, can't really do anything
};
// Poll the encoder