summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/60/led.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-11-21 19:11:50 +0000
committerGitHub <noreply@github.com>2020-11-21 19:11:50 +0000
commit95fd2ce81a394d972d922b7be34a99752aed9e31 (patch)
treef09ac6312037356da157ccd1304a0552c2bffadf /keyboards/clueboard/60/led.c
parent23222625c201cd960a5b4a99ee52e74d4c13bba9 (diff)
Refactor to use led config - Part 4 (#10967)
* Refactor to use led config * Refactor to use led_update_kb
Diffstat (limited to 'keyboards/clueboard/60/led.c')
-rw-r--r--keyboards/clueboard/60/led.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/clueboard/60/led.c b/keyboards/clueboard/60/led.c
index 91a2c537dc..20756f1e7a 100644
--- a/keyboards/clueboard/60/led.c
+++ b/keyboards/clueboard/60/led.c
@@ -16,7 +16,6 @@
*/
#include "hal.h"
-#include "led.h"
#include "printf.h"
#ifdef BACKLIGHT_ENABLE
@@ -40,14 +39,3 @@ void backlight_set(uint8_t level) {
}
}
#endif
-
-void led_set_kb(uint8_t usb_led) {
- printf("led_set_kb(%d)\n", usb_led);
- if (usb_led & (1<<USB_LED_CAPS_LOCK)) {
- // Turn capslock on
- palSetPad(GPIOB, 7);
- } else {
- // Turn capslock off
- palClearPad(GPIOB, 7);
- }
-}