diff options
author | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-07-12 11:57:15 -0400 |
---|---|---|
committer | Christopher Browne <cbbrowne@ca.afilias.info> | 2016-07-12 11:57:15 -0400 |
commit | f4fbfe6e544bb2beab05464a23ab848ae4c5578a (patch) | |
tree | 3adffe7bfb24ded332e3f8bd0366a2fd2f2db7e3 /keyboards/clueboard/clueboard.c | |
parent | 477ed703c88822aea62152d62fb2310267edc48f (diff) | |
parent | a998a48673372e409991066d7d2d9ba282f79d59 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/clueboard/clueboard.c')
-rw-r--r-- | keyboards/clueboard/clueboard.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/keyboards/clueboard/clueboard.c b/keyboards/clueboard/clueboard.c index 13195bda6b..3435202ba1 100644 --- a/keyboards/clueboard/clueboard.c +++ b/keyboards/clueboard/clueboard.c @@ -1,17 +1 @@ #include "clueboard.h" - -void led_init_ports() { - // * Set our LED pins as output - DDRB |= (1<<4); -} - -void led_set_kb(uint8_t usb_led) { - DDRF |= (1<<0); - if (usb_led & (1<<USB_LED_CAPS_LOCK)) { - // Turn capslock on - PORTF |= (1<<0); - } else { - // Turn capslock off - PORTF &= ~(1<<0); - } -} |