소스 검색

[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