diff options
Diffstat (limited to 'keyboards/peej/lumberjack/lumberjack.c')
-rw-r--r-- | keyboards/peej/lumberjack/lumberjack.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/keyboards/peej/lumberjack/lumberjack.c b/keyboards/peej/lumberjack/lumberjack.c index 2bdb49f6e3..111092d579 100644 --- a/keyboards/peej/lumberjack/lumberjack.c +++ b/keyboards/peej/lumberjack/lumberjack.c @@ -16,14 +16,9 @@ #include "lumberjack.h" -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - writePin(LED1, record->event.pressed); +void keyboard_pre_init_kb() { + setPinOutput(LED1); + setPinOutput(LED2); - return process_record_user(keycode, record); -} - -layer_state_t layer_state_set_kb(layer_state_t state) { - writePin(LED2, state); - - return layer_state_set_user(state); + keyboard_pre_init_user(); } |