diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-03-11 11:43:26 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-03-11 11:43:26 +0300 |
commit | dd31d9737d9f12dd3edcc648d99f373d98875f29 (patch) | |
tree | 3aa00463f541bf3e236ab009a5a82f1d653565ec /src/Display | |
parent | 170dad7479a229f0986ac610b8cade3ff0141870 (diff) |
Increased version number because RRFLibraries was changed
Diffstat (limited to 'src/Display')
-rw-r--r-- | src/Display/RotaryEncoder.cpp | 2 |
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 |