Ensure single newline at EOF for core files (#11310)
This commit is contained in:
		
							parent
							
								
									bbf0f65284
								
							
						
					
					
						commit
						1b7b72c0e9
					
				
					 40 changed files with 40 additions and 61 deletions
				
			
		| 
						 | 
				
			
			@ -134,4 +134,4 @@ __attribute__((weak)) void led_set(uint8_t usb_led) {
 | 
			
		|||
 | 
			
		||||
    led_set_kb(usb_led);
 | 
			
		||||
    led_update_kb((led_t)usb_led);
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,4 +52,4 @@ __attribute__((weak)) void pointing_device_task(void) {
 | 
			
		|||
 | 
			
		||||
report_mouse_t pointing_device_get_report(void) { return mouseReport; }
 | 
			
		||||
 | 
			
		||||
void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; }
 | 
			
		||||
void pointing_device_set_report(report_mouse_t newMouseReport) { mouseReport = newMouseReport; }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1 +1 @@
 | 
			
		|||
# qmk_serial_link
 | 
			
		||||
# qmk_serial_link
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,17 +1,17 @@
 | 
			
		|||
# The MIT License (MIT)
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
# Copyright (c) 2016 Fred Sundvik
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
 | 
			
		||||
# of this software and associated documentation files (the "Software"), to deal
 | 
			
		||||
# in the Software without restriction, including without limitation the rights
 | 
			
		||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 | 
			
		||||
# copies of the Software, and to permit persons to whom the Software is
 | 
			
		||||
# furnished to do so, subject to the following conditions:
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
# The above copyright notice and this permission notice shall be included in all
 | 
			
		||||
# copies or substantial portions of the Software.
 | 
			
		||||
# 
 | 
			
		||||
#
 | 
			
		||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 | 
			
		||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 | 
			
		||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +21,7 @@
 | 
			
		|||
# SOFTWARE.
 | 
			
		||||
 | 
			
		||||
CC = gcc
 | 
			
		||||
CFLAGS	= 
 | 
			
		||||
CFLAGS	=
 | 
			
		||||
INCLUDES = -I. -I../../
 | 
			
		||||
LDFLAGS = -L$(BUILDDIR)/cgreen/build-c/src -shared
 | 
			
		||||
LDLIBS = -lcgreen
 | 
			
		||||
| 
						 | 
				
			
			@ -37,7 +37,7 @@ endif
 | 
			
		|||
ifneq (, $(findstring CYGWIN, $(UNAME)))
 | 
			
		||||
	EXT = .dll
 | 
			
		||||
endif
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
SRC = $(wildcard *.c)
 | 
			
		||||
TESTFILES = $(patsubst %.c, $(UNITTESTS)/%$(EXT), $(SRC))
 | 
			
		||||
$(shell mkdir -p $(DEPDIR) >/dev/null)
 | 
			
		||||
| 
						 | 
				
			
			@ -54,8 +54,8 @@ $(UNITOBJ)/%.o: %.c $(DEPDIR)/%.d
 | 
			
		|||
	@mkdir -p $(UNITOBJ)
 | 
			
		||||
	$(CC) $(CFLAGS) $(DEPFLAGS) $(INCLUDES) -c $< -o $@
 | 
			
		||||
	@mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
$(DEPDIR)/%.d: ;
 | 
			
		||||
.PRECIOUS: $(DEPDIR)/%.d
 | 
			
		||||
 | 
			
		||||
-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC)))
 | 
			
		||||
-include $(patsubst %,$(DEPDIR)/%.d,$(basename $(SRC)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,4 +3,4 @@ TEST_LIST +=\
 | 
			
		|||
	serial_link_frame_validator\
 | 
			
		||||
	serial_link_frame_router\
 | 
			
		||||
	serial_link_triple_buffered_object\
 | 
			
		||||
	serial_link_transport
 | 
			
		||||
	serial_link_transport
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue