diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2020-04-23 07:56:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-23 08:56:22 +1000 |
| commit | bafa35ff46e8a6d1d2eaad09ce3757f919aa9ff3 (patch) | |
| tree | b014378c767b247221da3f6c7e14fdf9cf027841 /docs | |
| parent | c1c579c554839b5bea1b23480837d9b67faf87d4 (diff) | |
| download | qmk_firmware-bafa35ff46e8a6d1d2eaad09ce3757f919aa9ff3.tar.gz qmk_firmware-bafa35ff46e8a6d1d2eaad09ce3757f919aa9ff3.zip | |
fix sample code indent in feature_encoders.md (#8883)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/feature_encoders.md | 2 | ||||
| -rw-r--r-- | docs/ja/feature_encoders.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_encoders.md b/docs/feature_encoders.md index 4a0ae60c3..7799b78d6 100644 --- a/docs/feature_encoders.md +++ b/docs/feature_encoders.md | |||
| @@ -61,7 +61,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 61 | } else { | 61 | } else { |
| 62 | tap_code(KC_PGUP); | 62 | tap_code(KC_PGUP); |
| 63 | } | 63 | } |
| 64 | } else if (index == 1) { /* Second encoder */ | 64 | } else if (index == 1) { /* Second encoder */ |
| 65 | if (clockwise) { | 65 | if (clockwise) { |
| 66 | tap_code(KC_DOWN); | 66 | tap_code(KC_DOWN); |
| 67 | } else { | 67 | } else { |
diff --git a/docs/ja/feature_encoders.md b/docs/ja/feature_encoders.md index 0e35e7dc8..7f8922652 100644 --- a/docs/ja/feature_encoders.md +++ b/docs/ja/feature_encoders.md | |||
| @@ -66,7 +66,7 @@ void encoder_update_user(uint8_t index, bool clockwise) { | |||
| 66 | } else { | 66 | } else { |
| 67 | tap_code(KC_PGUP); | 67 | tap_code(KC_PGUP); |
| 68 | } | 68 | } |
| 69 | } else if (index == 1) { /* Second encoder */ | 69 | } else if (index == 1) { /* Second encoder */ |
| 70 | if (clockwise) { | 70 | if (clockwise) { |
| 71 | tap_code(KC_DOWN); | 71 | tap_code(KC_DOWN); |
| 72 | } else { | 72 | } else { |
