aboutsummaryrefslogtreecommitdiff
path: root/keyboards/acheron/elongate/elongate.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/acheron/elongate/elongate.c')
-rw-r--r--keyboards/acheron/elongate/elongate.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/keyboards/acheron/elongate/elongate.c b/keyboards/acheron/elongate/elongate.c
index 31c472036..9bf0d893a 100644
--- a/keyboards/acheron/elongate/elongate.c
+++ b/keyboards/acheron/elongate/elongate.c
@@ -1,4 +1,4 @@
1/* Copyright 2020 Gondolindrim 1/* Copyright 2021 Gondolindrim
2 * 2 *
3 * This program is free software: you can redistribute it and/or modify 3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by 4 * it under the terms of the GNU General Public License as published by
@@ -9,18 +9,6 @@
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details. 11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */ 12 */
16 13
17#include "elongate.h" 14#include "elongate.h"
18bool led_update_kb(led_t led_state) {
19 bool res = led_update_user(led_state);
20 if(res) {
21 writePin(D2, led_state.num_lock);
22 writePin(D1, led_state.caps_lock);
23 writePin(D0, led_state.scroll_lock);
24 }
25 return res;
26}