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 /quantum | |
| parent | bbf0f65284f6c9cc40429f446bddf48e2e882ad0 (diff) | |
| download | qmk_firmware-1b7b72c0e96856d2b9f73f705787af3426662bcf.tar.gz qmk_firmware-1b7b72c0e96856d2b9f73f705787af3426662bcf.zip | |
Ensure single newline at EOF for core files (#11310)
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/led.c | 2 | ||||
| -rw-r--r-- | quantum/pointing_device.c | 2 | ||||
| -rw-r--r-- | quantum/serial_link/README.md | 2 | ||||
| -rw-r--r-- | quantum/serial_link/tests/Makefile | 16 | ||||
| -rw-r--r-- | quantum/serial_link/tests/testlist.mk | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/quantum/led.c b/quantum/led.c index 3e30b1a5a..8f0eccf55 100644 --- a/quantum/led.c +++ b/quantum/led.c | |||
| @@ -134,4 +134,4 @@ __attribute__((weak)) void led_set(uint8_t usb_led) { | |||
| 134 | 134 | ||
| 135 | led_set_kb(usb_led); | 135 | led_set_kb(usb_led); |
| 136 | led_update_kb((led_t)usb_led); | 136 | led_update_kb((led_t)usb_led); |
| 137 | } \ No newline at end of file | 137 | } |
diff --git a/quantum/pointing_device.c b/quantum/pointing_device.c index 24a487b9a..9b7629f30 100644 --- a/quantum/pointing_device.c +++ b/quantum/pointing_device.c | |||
| @@ -52,4 +52,4 @@ __attribute__((weak)) void pointing_device_task(void) { | |||
| 52 | 52 | ||
| 53 | report_mouse_t pointing_device_get_report(void) { return mouseReport; } | 53 | report_mouse_t pointing_device_get_report(void) { return mouseReport; } |
| 54 | 54 | ||
| 55 | void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; } \ No newline at end of file | 55 | void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; } |
diff --git a/quantum/serial_link/README.md b/quantum/serial_link/README.md index e8490e290..05871dbdf 100644 --- a/quantum/serial_link/README.md +++ b/quantum/serial_link/README.md | |||
| @@ -1 +1 @@ | |||
| # qmk_serial_link \ No newline at end of file | # qmk_serial_link | ||
diff --git a/quantum/serial_link/tests/Makefile b/quantum/serial_link/tests/Makefile index 1b072c6f1..11dd355b2 100644 --- a/quantum/serial_link/tests/Makefile +++ b/quantum/serial_link/tests/Makefile | |||
| @@ -1,17 +1,17 @@ | |||
| 1 | # The MIT License (MIT) | 1 | # The MIT License (MIT) |
| 2 | # | 2 | # |
| 3 | # Copyright (c) 2016 Fred Sundvik | 3 | # Copyright (c) 2016 Fred Sundvik |
| 4 | # | 4 | # |
| 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy | 5 | # Permission is hereby granted, free of charge, to any person obtaining a copy |
| 6 | # of this software and associated documentation files (the "Software"), to deal | 6 | # of this software and associated documentation files (the "Software"), to deal |
| 7 | # in the Software without restriction, including without limitation the rights | 7 | # in the Software without restriction, including without limitation the rights |
| 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | 8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 9 | # copies of the Software, and to permit persons to whom the Software is | 9 | # copies of the Software, and to permit persons to whom the Software is |
| 10 | # furnished to do so, subject to the following conditions: | 10 | # furnished to do so, subject to the following conditions: |
| 11 | # | 11 | # |
| 12 | # The above copyright notice and this permission notice shall be included in all | 12 | # The above copyright notice and this permission notice shall be included in all |
| 13 | # copies or substantial portions of the Software. | 13 | # copies or substantial portions of the Software. |
| 14 | # | 14 | # |
| 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | 15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | 16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | 17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| @@ -21,7 +21,7 @@ | |||
| 21 | # SOFTWARE. | 21 | # SOFTWARE. |
| 22 | 22 | ||
| 23 | CC = gcc | 23 | CC = gcc |
| 24 | CFLAGS = | 24 | CFLAGS = |
| 25 | INCLUDES = -I. -I../../ | 25 | INCLUDES = -I. -I../../ |
| 26 | LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared | 26 | LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared |
| 27 | LDLIBS = -lcgreen | 27 | LDLIBS = -lcgreen |
| @@ -37,7 +37,7 @@ endif | |||
| 37 | ifneq (, $(findstring CYGWIN, $(UNAME))) | 37 | ifneq (, $(findstring CYGWIN, $(UNAME))) |
| 38 | EXT = .dll | 38 | EXT = .dll |
| 39 | endif | 39 | endif |
| 40 | 40 | ||
| 41 | SRC = $(wildcard *.c) | 41 | SRC = $(wildcard *.c) |
| 42 | TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC)) | 42 | TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC)) |
| 43 | $(shell mkdir -p $(DEPDIR) >/dev/null) | 43 | $(shell mkdir -p $(DEPDIR) >/dev/null) |
| @@ -54,8 +54,8 @@ $(UNITOBJ)/%.o: %.c $(DEPDIR)/%.d | |||
| 54 | @mkdir -p $(UNITOBJ) | 54 | @mkdir -p $(UNITOBJ) |
| 55 | $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@ | 55 | $(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@ |
| 56 | @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d | 56 | @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d |
| 57 | 57 | ||
| 58 | $(DEPDIR)/%.d: ; | 58 | $(DEPDIR)/%.d: ; |
| 59 | .PRECIOUS: $(DEPDIR)/%.d | 59 | .PRECIOUS: $(DEPDIR)/%.d |
| 60 | 60 | ||
| 61 | -include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC))) \ No newline at end of file | 61 | -include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC))) |
diff --git a/quantum/serial_link/tests/testlist.mk b/quantum/serial_link/tests/testlist.mk index a80e88884..c5edaf478 100644 --- a/quantum/serial_link/tests/testlist.mk +++ b/quantum/serial_link/tests/testlist.mk | |||
| @@ -3,4 +3,4 @@ TEST_LIST +=\ | |||
| 3 | serial_link_frame_validator\ | 3 | serial_link_frame_validator\ |
| 4 | serial_link_frame_router\ | 4 | serial_link_frame_router\ |
| 5 | serial_link_triple_buffered_object\ | 5 | serial_link_triple_buffered_object\ |
| 6 | serial_link_transport \ No newline at end of file | 6 | serial_link_transport |
