diff options
| author | IBNobody <protospherex@gmail.com> | 2016-03-22 21:06:22 -0500 |
|---|---|---|
| committer | IBNobody <protospherex@gmail.com> | 2016-03-22 21:06:22 -0500 |
| commit | 3d56ec052ed485d4b717da930c4024b4a3f792e0 (patch) | |
| tree | a4a868a605e1f0564fd332c1c3f095c03491b6ea /quantum | |
| parent | 10491ba21f91526c2011f43523dcde8710706dff (diff) | |
| download | qmk_firmware-3d56ec052ed485d4b717da930c4024b4a3f792e0.tar.gz qmk_firmware-3d56ec052ed485d4b717da930c4024b4a3f792e0.zip | |
Fixed extra semicolons.
Fixed extra semicolons.
Diffstat (limited to 'quantum')
| -rw-r--r-- | quantum/led.c | 2 | ||||
| -rw-r--r-- | quantum/template/template.c | 13 |
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)) |
| 23 | void led_set_kb(uint8_t usb_led) { | 23 | void led_set_kb(uint8_t usb_led) { |
| 24 | 24 | ||
| 25 | }; | 25 | } |
| 26 | 26 | ||
| 27 | void led_set(uint8_t usb_led) | 27 | void 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)) |
| 4 | void matrix_init_user(void) { | 4 | void 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)) |
| 10 | void matrix_scan_user(void) { | 9 | void 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)) |
| 16 | void led_set_user(uint8_t usb_led) { | 14 | void 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 | ||
| 21 | void matrix_init_kb(void) { | 18 | void 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 | ||
| 28 | void matrix_scan_kb(void) { | 25 | void 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 | ||
| 35 | void led_set_kb(uint8_t usb_led) { | 32 | void 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 |
