aboutsummaryrefslogtreecommitdiff
path: root/keyboards/lfkeyboards/smk65/revb/revb.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lfkeyboards/smk65/revb/revb.c')
-rw-r--r--keyboards/lfkeyboards/smk65/revb/revb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c
index 7498febeb..01c339f06 100644
--- a/keyboards/lfkeyboards/smk65/revb/revb.c
+++ b/keyboards/lfkeyboards/smk65/revb/revb.c
@@ -34,12 +34,12 @@ void matrix_init_kb(void)
34#ifdef AUDIO_ENABLE 34#ifdef AUDIO_ENABLE
35 // audio_init() sets PB5 to output and drives it low, which breaks our matrix 35 // audio_init() sets PB5 to output and drives it low, which breaks our matrix
36 // so reset PB5 to input 36 // so reset PB5 to input
37 cbi(DDRB, 5); 37 setPinInput(B5);
38 sbi(PORTB, 5); 38 writePinHigh(B5);
39#else 39#else
40 // If we're not using the audio pin, drive it low 40 // If we're not using the audio pin, drive it low
41 sbi(DDRC, 6); 41 setPinOutput(C6);
42 cbi(PORTC, 6); 42 writePinLow(C6);
43#endif 43#endif
44 44
45#ifdef ISSI_ENABLE 45#ifdef ISSI_ENABLE