mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-11 06:29:15 +00:00
fix sample code indent in feature_encoders.md (#8883)
This commit is contained in:
parent
c1c579c554
commit
bafa35ff46
2 changed files with 2 additions and 2 deletions
|
@ -61,7 +61,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
|
|||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
} else if (index == 1) { /* Second encoder */
|
||||
} else if (index == 1) { /* Second encoder */
|
||||
if (clockwise) {
|
||||
tap_code(KC_DOWN);
|
||||
} else {
|
||||
|
|
|
@ -66,7 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
|
|||
} else {
|
||||
tap_code(KC_PGUP);
|
||||
}
|
||||
} else if (index == 1) { /* Second encoder */
|
||||
} else if (index == 1) { /* Second encoder */
|
||||
if (clockwise) {
|
||||
tap_code(KC_DOWN);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue