Skip to content

Commit

Permalink
[Keyboard] use correct function in Dilemma splinky (qmk#17923)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored and nolanseaton committed Jan 23, 2023
1 parent 0edea46 commit 23b41f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keyboards/bastardkb/dilemma/splinky/splinky.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,4 +29,5 @@ void keyboard_pre_init_user(void) {
gpio_init(GP27);
gpio_init(GP28);
gpio_init(GP29);
keyboard_pre_init_user();
}

0 comments on commit 23b41f5

Please sign in to comment.