1
0

bad_kb_funcs1

This commit is contained in:
zvecr
2024-07-11 11:03:11 +01:00
parent 494af672ce
commit b066c86e43
22 changed files with 55 additions and 9 deletions

View File

@@ -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) {

View File

@@ -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();
}