Update GPIO API usage in keyboard code (#23361)
This commit is contained in:
parent
5426a7a129
commit
d09a06a1b3
390 changed files with 3912 additions and 3913 deletions
|
@ -17,20 +17,20 @@
|
|||
|
||||
void keyboard_pre_init_kb(void) {
|
||||
//Backlight LEDs Output Low
|
||||
setPinOutput(D6);
|
||||
writePinLow(D6);
|
||||
gpio_set_pin_output(D6);
|
||||
gpio_write_pin_low(D6);
|
||||
|
||||
//RGB power output low
|
||||
setPinOutput(E2);
|
||||
writePinLow(E2);
|
||||
gpio_set_pin_output(E2);
|
||||
gpio_write_pin_low(E2);
|
||||
|
||||
//Bluetooth power output high
|
||||
setPinOutput(B2);
|
||||
writePinLow(B2);
|
||||
gpio_set_pin_output(B2);
|
||||
gpio_write_pin_low(B2);
|
||||
|
||||
//RGB data output low
|
||||
setPinOutput(B3);
|
||||
writePinLow(B3);
|
||||
gpio_set_pin_output(B3);
|
||||
gpio_write_pin_low(B3);
|
||||
|
||||
keyboard_pre_init_user();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue