diff options
Diffstat (limited to 'keyboards/omnikeyish/omnikeyish.c')
-rw-r--r-- | keyboards/omnikeyish/omnikeyish.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/keyboards/omnikeyish/omnikeyish.c b/keyboards/omnikeyish/omnikeyish.c index d7b68d41a..9b8ce7b97 100644 --- a/keyboards/omnikeyish/omnikeyish.c +++ b/keyboards/omnikeyish/omnikeyish.c | |||
@@ -1,11 +1,6 @@ | |||
1 | #include "omnikeyish.h" | 1 | #include "omnikeyish.h" |
2 | 2 | ||
3 | void keyboard_pre_init_user(void) { | 3 | void keyboard_pre_init_user(void) { |
4 | /* Configure LED driving pins as output pins */ | ||
5 | setPinOutput(NUMLOCKLEDPIN); | ||
6 | setPinOutput(CAPSLOCKLEDPIN); | ||
7 | setPinOutput(SCROLLLOCKLEDPIN); | ||
8 | |||
9 | dynamic_macro_init(); | 4 | dynamic_macro_init(); |
10 | } | 5 | } |
11 | 6 | ||
@@ -33,23 +28,3 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
33 | 28 | ||
34 | return true; | 29 | return true; |
35 | } | 30 | } |
36 | |||
37 | void led_set_user(uint8_t usb_led) { | ||
38 | if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) { | ||
39 | writePinHigh(NUMLOCKLEDPIN); | ||
40 | } else { | ||
41 | writePinLow(NUMLOCKLEDPIN); | ||
42 | } | ||
43 | |||
44 | if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) { | ||
45 | writePinHigh(CAPSLOCKLEDPIN); | ||
46 | } else { | ||
47 | writePinLow(CAPSLOCKLEDPIN); | ||
48 | } | ||
49 | |||
50 | if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) { | ||
51 | writePinHigh(SCROLLLOCKLEDPIN); | ||
52 | } else { | ||
53 | writePinLow(SCROLLLOCKLEDPIN); | ||
54 | } | ||
55 | } \ No newline at end of file | ||