瀏覽代碼

fix sample code indent in feature_encoders.md (#8883)

Takeshi ISHII 5 年之前
父節點
當前提交
bafa35ff46
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/feature_encoders.md
  2. 1 1
      docs/ja/feature_encoders.md

+ 1 - 1
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 {

+ 1 - 1
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 {