[Keyboard] use correct function in Dilemma splinky (#17923)

This commit is contained in:
Drashna Jaelre 2022-08-05 18:58:06 -07:00 committed by GitHub
parent 758a0a0902
commit ad4ef47d2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@
// Forward declare RP2040 SDK declaration.
void gpio_init(uint gpio);
void keyboard_pre_init_user(void) {
void keyboard_pre_init_kb(void) {
// Ensures that GP26 through GP29 are initialized as digital inputs (as
// opposed to analog inputs). These GPIOs are shared with A0 through A3,
// respectively. On RP2040-B2 and later, the digital inputs are disabled by
@ -29,4 +29,5 @@ void keyboard_pre_init_user(void) {
gpio_init(GP27);
gpio_init(GP28);
gpio_init(GP29);
keyboard_pre_init_user();
}