mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-27 11:31:13 +00:00
updata rk839.c
修改格式,使用宏
This commit is contained in:
parent
f5d5adeadb
commit
368ddec1e7
@ -2,9 +2,9 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "quantum.h"
|
#include "quantum.h"
|
||||||
|
#define LED_ENABLE_PIN A5
|
||||||
void keyboard_pre_init_kb(void) {
|
void keyboard_pre_init_kb(void) {
|
||||||
gpio_set_pin_output(A5);
|
gpio_set_pin_output(LED_ENABLE_PIN);
|
||||||
gpio_write_pin_high(A5);
|
gpio_write_pin_high(LED_ENABLE_PIN);
|
||||||
keyboard_pre_init_user();
|
keyboard_pre_init_user();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user