summaryrefslogtreecommitdiff
path: root/keyboards/clueboard/card
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/card
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/card')
-rw-r--r--keyboards/clueboard/card/card.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/keyboards/clueboard/card/card.c b/keyboards/clueboard/card/card.c
index 9b4b397d92..33a4cc3cdc 100644
--- a/keyboards/clueboard/card/card.c
+++ b/keyboards/clueboard/card/card.c
@@ -1,35 +1,9 @@
#include "card.h"
+
#define BL_RED OCR1B
#define BL_GREEN OCR1A
#define BL_BLUE OCR1C
-void matrix_init_kb(void) {
- // put your keyboard start-up code here
- // runs once when the firmware starts up
-
- matrix_init_user();
-}
-
-void matrix_scan_kb(void) {
- // put your looping keyboard code here
- // runs every cycle (a lot)
-
- matrix_scan_user();
-}
-
-bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
- // put your per-action keyboard code here
- // runs for every action, just before processing by the firmware
-
- return process_record_user(keycode, record);
-}
-
-void led_set_kb(uint8_t usb_led) {
- // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
-
- led_set_user(usb_led);
-}
-
void backlight_init_ports(void)
{
// Set B5, B6, and B7 as output