chore: update function name on all cases.

This commit is contained in:
Luis Garcia 2023-06-11 17:39:38 -06:00 committed by GitHub
parent d27080f088
commit 5a61934fd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ bool encoder_update(uint8_t index, uint8_t state) {
if (encoder_pulses[i] <= -ENCODER_RESOLUTION) {
encoder_value[index]--;
changed = true;
encoder_update_fn(index, true);
encoder_cntx_fn(index, true);
}
encoder_pulses[i] %= ENCODER_RESOLUTION;
#ifdef ENCODER_DEFAULT_POS