Skip to content

Commit

Permalink
fix sample code indent in feature_encoders.md (qmk#8883)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtei committed Apr 22, 2020
1 parent c1c579c commit bafa35f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/feature_encoders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/feature_encoders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bafa35f

Please sign in to comment.