Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
This commit is contained in:
@@ -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
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user