aboutsummaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-28 04:36:32 +1100
committerGitHub <noreply@github.com>2020-12-28 04:36:32 +1100
commit1b7b72c0e96856d2b9f73f705787af3426662bcf (patch)
treeb03387eee60a4650d850c11daf7a962285837da6 /tmk_core
parentbbf0f65284f6c9cc40429f446bddf48e2e882ad0 (diff)
downloadqmk_firmware-1b7b72c0e96856d2b9f73f705787af3426662bcf.tar.gz
qmk_firmware-1b7b72c0e96856d2b9f73f705787af3426662bcf.zip
Ensure single newline at EOF for core files (#11310)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/avr/xprintf.S4
-rw-r--r--tmk_core/common/chibios/sleep_led.c2
-rw-r--r--tmk_core/common/test/timer.c2
-rw-r--r--tmk_core/protocol/chibios.mk1
4 files changed, 3 insertions, 6 deletions
diff --git a/tmk_core/common/avr/xprintf.S b/tmk_core/common/avr/xprintf.S
index 06434b98d..c5a414c35 100644
--- a/tmk_core/common/avr/xprintf.S
+++ b/tmk_core/common/avr/xprintf.S
@@ -450,7 +450,7 @@ xatoi:
450 brcs 70f ;/ 450 brcs 70f ;/
451 cpi r22, 10 ;if(r22 >= 10) { 451 cpi r22, 10 ;if(r22 >= 10) {
452 brcs 53f ; r22 -= 7; 452 brcs 53f ; r22 -= 7;
453 subi r22, 7 ; if(r22 < 10) 453 subi r22, 7 ; if(r22 < 10)
454 cpi r22, 10 ; 454 cpi r22, 10 ;
455 brcs 70f ;} 455 brcs 70f ;}
45653: cp r22, r25 ;if(r22 >= r25) error; 45653: cp r22, r25 ;if(r22 >= r25) error;
@@ -496,5 +496,3 @@ xatoi:
496 ret 496 ret
497.endfunc 497.endfunc
498#endif 498#endif
499
500
diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c
index 18c6d6e17..5595eec0e 100644
--- a/tmk_core/common/chibios/sleep_led.c
+++ b/tmk_core/common/chibios/sleep_led.c
@@ -211,4 +211,4 @@ void sleep_led_toggle(void) {
211 // not implemented 211 // not implemented
212} 212}
213 213
214#endif /* platform selection */ \ No newline at end of file 214#endif /* platform selection */
diff --git a/tmk_core/common/test/timer.c b/tmk_core/common/test/timer.c
index 3c786ae29..61c3a0020 100644
--- a/tmk_core/common/test/timer.c
+++ b/tmk_core/common/test/timer.c
@@ -30,4 +30,4 @@ uint32_t timer_elapsed32(uint32_t last) { return TIMER_DIFF_32(timer_read32(), l
30void set_time(uint32_t t) { current_time = t; } 30void set_time(uint32_t t) { current_time = t; }
31void advance_time(uint32_t ms) { current_time += ms; } 31void advance_time(uint32_t ms) { current_time += ms; }
32 32
33void wait_ms(uint32_t ms) { advance_time(ms); } \ No newline at end of file 33void wait_ms(uint32_t ms) { advance_time(ms); }
diff --git a/tmk_core/protocol/chibios.mk b/tmk_core/protocol/chibios.mk
index 2070420f5..80554abb3 100644
--- a/tmk_core/protocol/chibios.mk
+++ b/tmk_core/protocol/chibios.mk
@@ -18,4 +18,3 @@ OPT_DEFS += -DFIXED_NUM_CONFIGURATIONS=1
18ifeq ($(strip $(MIDI_ENABLE)), yes) 18ifeq ($(strip $(MIDI_ENABLE)), yes)
19 include $(TMK_PATH)/protocol/midi.mk 19 include $(TMK_PATH)/protocol/midi.mk
20endif 20endif
21