summaryrefslogtreecommitdiff
path: root/keyboards/wheatfield/split75/split75.c
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-08-03 18:34:32 +0100
committerGitHub <noreply@github.com>2021-08-03 18:34:32 +0100
commit3f419dc872d3ab61d129c644e114f62fd738e9d6 (patch)
tree51beaff9f09d19130ca4f504bef512f776512f03 /keyboards/wheatfield/split75/split75.c
parent2bc7511b9e045c56e611c8c4f091ce00bc799772 (diff)
Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
Diffstat (limited to 'keyboards/wheatfield/split75/split75.c')
-rw-r--r--keyboards/wheatfield/split75/split75.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/keyboards/wheatfield/split75/split75.c b/keyboards/wheatfield/split75/split75.c
index 3ed4562928..b8a3fe6c28 100644
--- a/keyboards/wheatfield/split75/split75.c
+++ b/keyboards/wheatfield/split75/split75.c
@@ -1,25 +1 @@
#include "split75.h"
-
-#include "i2c_master.h"
-
-
-void keyboard_pre_init_kb(void) {
- led_init_ports();
- keyboard_pre_init_user();
-}
-
-void led_init_ports(void) {
- setPinOutput(NUMLOCK_LED_PIN);
- setPinOutput(CAPSLOCK_LED_PIN);
- setPinOutput(SCROLLLOCK_LED_PIN);
-}
-
-bool led_update_kb(led_t led_state) {
- bool res = led_update_user(led_state);
- if(res) {
- writePin(NUMLOCK_LED_PIN, led_state.num_lock);
- writePin(CAPSLOCK_LED_PIN, led_state.caps_lock);
- writePin(SCROLLLOCK_LED_PIN, led_state.scroll_lock);
- }
- return res;
-}