summaryrefslogtreecommitdiff
path: root/keyboards/viterbi/keymaps/drashna
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/viterbi/keymaps/drashna')
-rw-r--r--keyboards/viterbi/keymaps/drashna/keymap.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/keyboards/viterbi/keymaps/drashna/keymap.c b/keyboards/viterbi/keymaps/drashna/keymap.c
index a343205197..9ca14961be 100644
--- a/keyboards/viterbi/keymaps/drashna/keymap.c
+++ b/keyboards/viterbi/keymaps/drashna/keymap.c
@@ -87,10 +87,13 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
+
void matrix_init_keymap(void) {
- DDRD &= ~(1<<5);
- PORTD &= ~(1<<5);
+ #ifndef CONVERT_TO_PROTON_C
+ setPinOutput(D5);
+ writePinHigh(D5);
- DDRB &= ~(1<<0);
- PORTB &= ~(1<<0);
+ setPinOutput(B0);
+ writePinHigh(B0);
+ #endif
}