diff options
author | Ryan <fauxpark@gmail.com> | 2020-12-28 04:36:32 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 04:36:32 +1100 |
commit | 1b7b72c0e96856d2b9f73f705787af3426662bcf (patch) | |
tree | b03387eee60a4650d850c11daf7a962285837da6 /tmk_core | |
parent | bbf0f65284f6c9cc40429f446bddf48e2e882ad0 (diff) |
Ensure single newline at EOF for core files (#11310)
Diffstat (limited to 'tmk_core')
-rw-r--r-- | tmk_core/common/avr/xprintf.S | 4 | ||||
-rw-r--r-- | tmk_core/common/chibios/sleep_led.c | 2 | ||||
-rw-r--r-- | tmk_core/common/test/timer.c | 2 | ||||
-rw-r--r-- | tmk_core/protocol/chibios.mk | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/tmk_core/common/avr/xprintf.S b/tmk_core/common/avr/xprintf.S index 06434b98d9..c5a414c35c 100644 --- a/tmk_core/common/avr/xprintf.S +++ b/tmk_core/common/avr/xprintf.S @@ -450,7 +450,7 @@ xatoi: brcs 70f ;/ cpi r22, 10 ;if(r22 >= 10) { brcs 53f ; r22 -= 7; - subi r22, 7 ; if(r22 < 10) + subi r22, 7 ; if(r22 < 10) cpi r22, 10 ; brcs 70f ;} 53: cp r22, r25 ;if(r22 >= r25) error; @@ -496,5 +496,3 @@ xatoi: ret .endfunc #endif - - diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c index 18c6d6e170..5595eec0e5 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) { // not implemented } -#endif /* platform selection */
\ No newline at end of file +#endif /* platform selection */ diff --git a/tmk_core/common/test/timer.c b/tmk_core/common/test/timer.c index 3c786ae293..61c3a00201 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 void set_time(uint32_t t) { current_time = t; } void advance_time(uint32_t ms) { current_time += ms; } -void wait_ms(uint32_t ms) { advance_time(ms); }
\ No newline at end of file +void wait_ms(uint32_t ms) { advance_time(ms); } diff --git a/tmk_core/protocol/chibios.mk b/tmk_core/protocol/chibios.mk index 2070420f56..80554abb32 100644 --- a/tmk_core/protocol/chibios.mk +++ b/tmk_core/protocol/chibios.mk @@ -18,4 +18,3 @@ OPT_DEFS += -DFIXED_NUM_CONFIGURATIONS=1 ifeq ($(strip $(MIDI_ENABLE)), yes) include $(TMK_PATH)/protocol/midi.mk endif - |