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) { } else { tap_code(KC_PGUP); } - } else if (index == 1) { /* Second encoder */ + } else if (index == 1) { /* Second encoder */ if (clockwise) { tap_code(KC_DOWN); } 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) { } else { tap_code(KC_PGUP); } - } else if (index == 1) { /* Second encoder */ + } else if (index == 1) { /* Second encoder */ if (clockwise) { tap_code(KC_DOWN); } else {