ソースを参照

[CI] Format code according to conventions (#12623)

Co-authored-by: QMK Bot <hello@qmk.fm>
github-actions[bot] 4 年 前
コミット
230f09ca17
2 ファイル変更1 行追加2 行削除
  1. 1 1
      quantum/wpm.c
  2. 0 1
      quantum/wpm.h

+ 1 - 1
quantum/wpm.c

@@ -85,6 +85,6 @@ void update_wpm(uint16_t keycode) {
 void decay_wpm(void) {
     if (timer_elapsed(wpm_timer) > 1000) {
         current_wpm += (-current_wpm) * wpm_smoothing;
-        wpm_timer   = timer_read();
+        wpm_timer = timer_read();
     }
 }

+ 0 - 1
quantum/wpm.h

@@ -19,7 +19,6 @@
 
 #include "quantum.h"
 
-
 #ifndef WPM_ESTIMATED_WORD_SIZE
 #    define WPM_ESTIMATED_WORD_SIZE 5
 #endif