Unconditionally call led_init_ports (#12116)

* Unconditionally call led_init_ports

* Another call to led_init_ports
This commit is contained in:
Joel Challis
2021-08-03 18:34:32 +01:00
committed by GitHub
parent 2bc7511b9e
commit 3f419dc872
30 changed files with 20 additions and 215 deletions

View File

@@ -16,13 +16,6 @@
#include "hannah60rgb.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
led_init_ports();
};
#ifdef RGB_MATRIX_ENABLE
led_config_t g_led_config = { {
//Key Matrix to LED Index

View File

@@ -15,10 +15,6 @@
*/
#include "hannah910.h"
void matrix_init_kb(void) {
matrix_init_user();
led_init_ports();
};
void led_init_ports(void) {
setPinOutput(B2);
setPinOutput(D0);

View File

@@ -16,10 +16,6 @@
#include "rev2.h"
void matrix_init_kb(void) {
matrix_init_user();
led_init_ports();
};
void led_init_ports(void) {
setPinOutput(A5);
setPinOutput(A6);

View File

@@ -16,13 +16,6 @@
#include "infinityce.h"
void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
matrix_init_user();
led_init_ports();
};
void led_init_ports(void) {
// * Set our LED pins as output
setPinOutput(B3);

View File

@@ -16,10 +16,6 @@
#include "kanu.h"
void matrix_init_kb(void) {
matrix_init_user();
led_init_ports();
};
void led_init_ports(void) {
setPinOutput(B2);
setPinOutput(D0);