aboutsummaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorIBNobody <protospherex@gmail.com>2016-03-22 21:06:22 -0500
committerIBNobody <protospherex@gmail.com>2016-03-22 21:06:22 -0500
commit3d56ec052ed485d4b717da930c4024b4a3f792e0 (patch)
treea4a868a605e1f0564fd332c1c3f095c03491b6ea /quantum
parent10491ba21f91526c2011f43523dcde8710706dff (diff)
downloadqmk_firmware-3d56ec052ed485d4b717da930c4024b4a3f792e0.tar.gz
qmk_firmware-3d56ec052ed485d4b717da930c4024b4a3f792e0.zip
Fixed extra semicolons.
Fixed extra semicolons.
Diffstat (limited to 'quantum')
-rw-r--r--quantum/led.c2
-rw-r--r--quantum/template/template.c13
2 files changed, 6 insertions, 9 deletions
diff --git a/quantum/led.c b/quantum/led.c
index 42525090b..9cdb8a5c2 100644
--- a/quantum/led.c
+++ b/quantum/led.c
@@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
22__attribute__ ((weak)) 22__attribute__ ((weak))
23void led_set_kb(uint8_t usb_led) { 23void led_set_kb(uint8_t usb_led) {
24 24
25}; 25}
26 26
27void led_set(uint8_t usb_led) 27void led_set(uint8_t usb_led)
28{ 28{
diff --git a/quantum/template/template.c b/quantum/template/template.c
index 828afb18c..58e73cb09 100644
--- a/quantum/template/template.c
+++ b/quantum/template/template.c
@@ -3,37 +3,34 @@
3__attribute__ ((weak)) 3__attribute__ ((weak))
4void matrix_init_user(void) { 4void matrix_init_user(void) {
5 // leave this function blank - it can be defined in a keymap file 5 // leave this function blank - it can be defined in a keymap file
6 return NULL;
7}; 6};
8 7
9__attribute__ ((weak)) 8__attribute__ ((weak))
10void matrix_scan_user(void) { 9void matrix_scan_user(void) {
11 // leave this function blank - it can be defined in a keymap file 10 // leave this function blank - it can be defined in a keymap file
12 return NULL; 11}
13};
14 12
15__attribute__ ((weak)) 13__attribute__ ((weak))
16void led_set_user(uint8_t usb_led) { 14void led_set_user(uint8_t usb_led) {
17 // leave this function blank - it can be defined in a keymap file 15 // leave this function blank - it can be defined in a keymap file
18 return NULL; 16}
19};
20 17
21void matrix_init_kb(void) { 18void matrix_init_kb(void) {
22 // put your keyboard start-up code here 19 // put your keyboard start-up code here
23 // runs once when the firmware starts up 20 // runs once when the firmware starts up
24 21
25 matrix_init_user(); 22 matrix_init_user();
26}; 23}
27 24
28void matrix_scan_kb(void) { 25void matrix_scan_kb(void) {
29 // put your looping keyboard code here 26 // put your looping keyboard code here
30 // runs every cycle (a lot) 27 // runs every cycle (a lot)
31 28
32 matrix_scan_user(); 29 matrix_scan_user();
33}; 30}
34 31
35void led_set_kb(uint8_t usb_led) { 32void led_set_kb(uint8_t usb_led) {
36 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here 33 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
37 34
38 led_set_user(usb_led); 35 led_set_user(usb_led);
39}; \ No newline at end of file 36} \ No newline at end of file