diff options
author | zvecr <[email protected]> | 2024-07-11 11:03:11 +0100 |
---|---|---|
committer | zvecr <[email protected]> | 2024-07-11 11:03:11 +0100 |
commit | b066c86e432347e8abd52eb0faffc3db26dd4ede (patch) | |
tree | 307533a798f04119f0b12595017d1ad0c0d079cf /keyboards/handwired | |
parent | 494af672ced0f10bf5c60f9d5a8dac68d579640f (diff) | |
download | qmk_firmware-b066c86e432347e8abd52eb0faffc3db26dd4ede.tar.gz qmk_firmware-b066c86e432347e8abd52eb0faffc3db26dd4ede.zip |
bad_kb_funcs1
Diffstat (limited to 'keyboards/handwired')
-rw-r--r-- | keyboards/handwired/aek64/aek64.c | 13 | ||||
-rw-r--r-- | keyboards/handwired/battleship_gamepad/battleship_gamepad.c | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/aek64/aek64.c b/keyboards/handwired/aek64/aek64.c index 130d014616..21589b6910 100644 --- a/keyboards/handwired/aek64/aek64.c +++ b/keyboards/handwired/aek64/aek64.c @@ -16,21 +16,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "quantum.h" -/* - * Hardware function pre initialisation. - * See https://docs.qmk.fm/#/custom_quantum_functions?id=example-keyboard_pre_init_user-implementation - */ -void keyboard_pre_init_user(void) { - // Call the keyboard pre init code. - +void keyboard_pre_init_kb(void) { // Set our LED pins as output gpio_set_pin_output(C3); + + keyboard_pre_init_user(); } void matrix_init_kb(void) { - // Flash the led 1 sec on startup. gpio_write_pin_high(C3); wait_ms(1000); gpio_write_pin_low(C3); + + matrix_init_user(); } diff --git a/keyboards/handwired/battleship_gamepad/battleship_gamepad.c b/keyboards/handwired/battleship_gamepad/battleship_gamepad.c index 7b5e65a990..6bfcb17fd4 100644 --- a/keyboards/handwired/battleship_gamepad/battleship_gamepad.c +++ b/keyboards/handwired/battleship_gamepad/battleship_gamepad.c @@ -19,4 +19,6 @@ /* joystick button code (thumbstick pressed) */ void keyboard_pre_init_kb(void) { gpio_set_pin_input_high(F6); + + keyboard_pre_init_user(); } |