aboutsummaryrefslogtreecommitdiff
path: root/keyboards/do60/do60.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/do60/do60.c')
-rw-r--r--keyboards/do60/do60.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/do60/do60.c b/keyboards/do60/do60.c
index 3dba9b535..b19fc5982 100644
--- a/keyboards/do60/do60.c
+++ b/keyboards/do60/do60.c
@@ -2,26 +2,9 @@
2 2
3extern inline void setdefaultrgb(void); 3extern inline void setdefaultrgb(void);
4 4
5
6void matrix_init_kb(void) { 5void matrix_init_kb(void) {
7 // Keyboard start-up code goes here 6 // Keyboard start-up code goes here
8 // Runs once when the firmware starts up 7 // Runs once when the firmware starts up
9 matrix_init_user(); 8 matrix_init_user();
10 led_init_ports();
11 setdefaultrgb(); 9 setdefaultrgb();
12}; 10};
13
14void led_init_ports(void) {
15 // Set caps lock LED pin as output
16 setPinOutput(B2);
17 // Default to off
18 writePinHigh(B2);
19}
20
21bool led_update_kb(led_t led_state) {
22 if(led_update_user(led_state)) {
23 writePin(B2, !led_state.caps_lock);
24 }
25
26 return true;
27}