summaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech
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/wilba_tech
parent2bc7511b9e045c56e611c8c4f091ce00bc799772 (diff)
downloadqmk_firmware-3f419dc872d3ab61d129c644e114f62fd738e9d6.tar.gz
qmk_firmware-3f419dc872d3ab61d129c644e114f62fd738e9d6.zip
Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
Diffstat (limited to 'keyboards/wilba_tech')
-rw-r--r--keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c6
-rw-r--r--keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
index b90ca686fb..d586064954 100644
--- a/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
+++ b/keyboards/wilba_tech/rama_works_m10_b/keymaps/knops/keymap.c
@@ -23,14 +23,8 @@ void set_led_state(int ledId, bool state)
{
}
-void led_init_ports()
-{
-}
-
void led_set_layer(int layer)
{
- led_init_ports();
-
led_set_layer(0);
/*KNOPS_SIMPLELED_STATES*/
diff --git a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c b/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c
index d687fe8516..db2167c467 100644
--- a/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c
+++ b/keyboards/wilba_tech/rama_works_m6_a/keymaps/knops/keymap.c
@@ -60,7 +60,7 @@ void set_led_state(int ledId, bool state)
}
}
-void led_init_ports()
+void led_init_ports_user()
{
// Switch #1
DDRD |= (1 << 6);
@@ -95,7 +95,7 @@ void led_set_layer(int layer)
void matrix_init_user(void)
{
- led_init_ports();
+ led_init_ports_user();
led_set_layer(0);