diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-08-27 14:54:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-27 14:54:55 -0400 |
commit | f815b4871ebc5cc2f8d1a306eceec68c0a973a4c (patch) | |
tree | 84c78137841ad83036de7e36579bc7973b024f7a /keyboards/gh60/gh60.c | |
parent | 36b6a96596e6cbca879d5304a586e279c15b04a9 (diff) | |
parent | cff26bc48413ec62d4f4a37e3a6ba34721e7670c (diff) | |
download | qmk_firmware-f815b4871ebc5cc2f8d1a306eceec68c0a973a4c.tar.gz qmk_firmware-f815b4871ebc5cc2f8d1a306eceec68c0a973a4c.zip |
Merge pull request #691 from fredizzimo/fix_line_endings
Fix line endings
Diffstat (limited to 'keyboards/gh60/gh60.c')
-rw-r--r-- | keyboards/gh60/gh60.c | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/keyboards/gh60/gh60.c b/keyboards/gh60/gh60.c index 255d87de99..f5a158e12f 100644 --- a/keyboards/gh60/gh60.c +++ b/keyboards/gh60/gh60.c @@ -1,25 +1,25 @@ -#include "gh60.h"
-
-void led_set_kb(uint8_t usb_led) {
- // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
- if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
- gh60_caps_led_on();
- } else {
- gh60_caps_led_off();
- }
-
- // if (usb_led & (1<<USB_LED_NUM_LOCK)) {
- // gh60_esc_led_on();
- // } else {
- // gh60_esc_led_off();
- // }
-
- // if (usb_led & (1<<USB_LED_SCROLL_LOCK)) {
- // gh60_fn_led_on();
- // } else {
- // gh60_fn_led_off();
- // }
-
- led_set_user(usb_led);
-}
+#include "gh60.h" + +void led_set_kb(uint8_t usb_led) { + // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here + + if (usb_led & (1<<USB_LED_CAPS_LOCK)) { + gh60_caps_led_on(); + } else { + gh60_caps_led_off(); + } + + // if (usb_led & (1<<USB_LED_NUM_LOCK)) { + // gh60_esc_led_on(); + // } else { + // gh60_esc_led_off(); + // } + + // if (usb_led & (1<<USB_LED_SCROLL_LOCK)) { + // gh60_fn_led_on(); + // } else { + // gh60_fn_led_off(); + // } + + led_set_user(usb_led); +} |