Commit d8c164d6 authored by Martin Vítek's avatar Martin Vítek
Browse files

Count changed to unsigned type

- sign represents direction of rotation
parent 2cfcb3bc
......@@ -25,7 +25,7 @@ class encoder
volatile bool event;
volatile uint8_t count;
volatile int8_t count;
encoder(encoder_config &config)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment