diff options
Diffstat (limited to 'keyboards/evyd13/gh80_1800/gh80_1800.c')
-rw-r--r-- | keyboards/evyd13/gh80_1800/gh80_1800.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/keyboards/evyd13/gh80_1800/gh80_1800.c b/keyboards/evyd13/gh80_1800/gh80_1800.c index 770c6f78b..1691b3949 100644 --- a/keyboards/evyd13/gh80_1800/gh80_1800.c +++ b/keyboards/evyd13/gh80_1800/gh80_1800.c | |||
@@ -14,31 +14,3 @@ | |||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 | */ | 15 | */ |
16 | #include "gh80_1800.h" | 16 | #include "gh80_1800.h" |
17 | |||
18 | void matrix_init_kb(void) { | ||
19 | // put your keyboard start-up code here | ||
20 | // runs once when the firmware starts up | ||
21 | |||
22 | matrix_init_user(); | ||
23 | led_init_ports(); | ||
24 | } | ||
25 | |||
26 | void led_init_ports(void) { | ||
27 | setPinOutput(D6); | ||
28 | setPinOutput(D7); | ||
29 | setPinOutput(D4); | ||
30 | |||
31 | writePinHigh(D6); | ||
32 | writePinHigh(D7); | ||
33 | writePinHigh(D4); | ||
34 | } | ||
35 | |||
36 | bool led_update_kb(led_t led_state) { | ||
37 | if(led_update_user(led_state)) { | ||
38 | writePin(D6, !led_state.num_lock); | ||
39 | writePin(D7, !led_state.caps_lock); | ||
40 | writePin(D4, !led_state.scroll_lock); | ||
41 | } | ||
42 | |||
43 | return true; | ||
44 | } | ||