1
0
Fork 0

Update GPIO API usage in keyboard code (#23361)

This commit is contained in:
Ryan 2024-05-03 15:21:29 +10:00 committed by GitHub
parent 5426a7a129
commit d09a06a1b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
390 changed files with 3912 additions and 3913 deletions

View file

@ -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
}