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
|
@ -36,15 +36,15 @@ void suspend_wakeup_init_kb(void) {
|
|||
void led_init_kb(void)
|
||||
{
|
||||
#ifdef NUM_LOCK_LED_PIN
|
||||
setPinOutput(NUM_LOCK_LED_PIN);
|
||||
gpio_set_pin_output(NUM_LOCK_LED_PIN);
|
||||
RESET_NUM_LOCK_LED();
|
||||
#endif // NUM_LOCK_LED_PIN
|
||||
#ifdef CAPS_LOCK_LED_PIN
|
||||
setPinOutput(CAPS_LOCK_LED_PIN);
|
||||
gpio_set_pin_output(CAPS_LOCK_LED_PIN);
|
||||
RESET_CAPS_LOCK_LED();
|
||||
#endif // CAPS_LOCK_LED_PIN
|
||||
#ifdef SCROLL_LOCK_LED_PIN
|
||||
setPinOutput(SCROLL_LOCK_LED_PIN);
|
||||
gpio_set_pin_output(SCROLL_LOCK_LED_PIN);
|
||||
RESET_SCROLL_LOCK_LED();
|
||||
#endif // SCROLL_LOCK_LED_PIN
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue