Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EasyG0ing1 committed Dec 28, 2024
1 parent 2e60d63 commit 0899bda
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ Enjoy!

## Change Log

* 1.2.2 - Bug fix.

* 1.2.1 - Bug fixes and streamlined some code.

* 1.2.0 - Added steps and modified the code for efficiency. Added right and left methods to be used instead of
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SimpleEncoder
version=1.2.1
version=1.2.2
author=Michael Sims <sims.mike@gmail.com>
maintainer=Michael Sims <sims.mike@gmail.com>
sentence=SimpleEncoder is a library that makes it easy to use rotary encoders with Arduino's.
Expand Down
2 changes: 1 addition & 1 deletion src/SimpleEncoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ STATE SimpleEncoder::getState() {
* Private Methods
*/

void initPins(int pinButton, int pinA, int pinB) {
void SimpleEncoder::initPins(int pinButton, int pinA, int pinB) {
encA = pinA;
encB = pinB;
buttonPin = pinButton;
Expand Down

0 comments on commit 0899bda

Please sign in to comment.