summaryrefslogtreecommitdiff
path: root/quantum/quantum.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 /quantum/quantum.c
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 'quantum/quantum.c')
-rw-r--r--quantum/quantum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c
index f35939216c..3329c1146b 100644
--- a/quantum/quantum.c
+++ b/quantum/quantum.c
@@ -356,10 +356,7 @@ void update_tri_layer(uint8_t layer1, uint8_t layer2, uint8_t layer3) { layer_st
void matrix_init_quantum() {
magic();
-#if defined(LED_NUM_LOCK_PIN) || defined(LED_CAPS_LOCK_PIN) || defined(LED_SCROLL_LOCK_PIN) || defined(LED_COMPOSE_PIN) || defined(LED_KANA_PIN)
- // TODO: remove calls to led_init_ports from keyboards and remove ifdef
led_init_ports();
-#endif
#ifdef BACKLIGHT_ENABLE
backlight_init_ports();
#endif