[Docs] Modify encoder_update_user example to return false (#14541)
This commit is contained in:
parent
6b74e48f81
commit
19e33b685f
2 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
|||
tap_code(KC_UP);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -76,7 +76,7 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
|||
tap_code(KC_UP);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue