diff options
author | Charly Delay <0xcharly@users.noreply.github.com> | 2022-11-17 02:23:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 09:23:21 -0800 |
commit | d86c0d372312dc72a384e166d4cc8653de670610 (patch) | |
tree | 5e1b18e5f264afbd66e06b53fe9622ca3e60c319 /keyboards/bastardkb/dilemma/dilemma.c | |
parent | d6956668e33ef993d9114a31c0b6c79bebc9ad2c (diff) |
Use `keyboard_pre_init_kb(void)` at keyboard level (#19091)
Diffstat (limited to 'keyboards/bastardkb/dilemma/dilemma.c')
-rw-r--r-- | keyboards/bastardkb/dilemma/dilemma.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/bastardkb/dilemma/dilemma.c b/keyboards/bastardkb/dilemma/dilemma.c index 793f27d2b5..b474a24e7f 100644 --- a/keyboards/bastardkb/dilemma/dilemma.c +++ b/keyboards/bastardkb/dilemma/dilemma.c @@ -331,7 +331,7 @@ void matrix_init_kb(void) { // 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 @@ -340,4 +340,6 @@ void keyboard_pre_init_user(void) { gpio_init(GP27); gpio_init(GP28); gpio_init(GP29); + + keyboard_pre_init_user(); } |