You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In line 92 of ClickEncoder.cpp the value of the lookup table (+1 / 0 / -1) is stored in a uint8_t datatype, instead it should be stored in an int8_t type according to the possible values.
uint8_t tbl = pgm_read_byte(&table[last]);
if (tbl) {
Serial.println(tbl);
delta += tbl;
moved = true;
}
The text was updated successfully, but these errors were encountered:
In line 92 of ClickEncoder.cpp the value of the lookup table (+1 / 0 / -1) is stored in a uint8_t datatype, instead it should be stored in an int8_t type according to the possible values.
The text was updated successfully, but these errors were encountered: