forked from mirror/qmk_firmware
bad_kb_funcs1
This commit is contained in:
@@ -24,6 +24,8 @@ void board_init(void) {
|
||||
void keyboard_post_init_kb(void){
|
||||
// Defining the backlight pin (A6) as an floating (no pullup or pulldown resistor) opendrain output pin
|
||||
palSetLineMode(BACKLIGHT_PIN, PAL_MODE_ALTERNATE(2) | PAL_STM32_OTYPE_OPENDRAIN | PAL_STM32_OSPEED_HIGHEST | PAL_STM32_PUPDR_FLOATING);
|
||||
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
void led_init_ports(void) {
|
||||
|
||||
@@ -74,4 +74,6 @@ layer_state_t layer_state_set_kb(layer_state_t state) {
|
||||
// Since the keyboard starts at layer 0, the init function starts LED4 as lit up.
|
||||
void keyboard_post_init_kb(void){
|
||||
gpio_write_pin(LED4_PIN, 0);
|
||||
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user