From 8574bf20d35b21c7b44ba8550fa11b4d100fdbbd Mon Sep 17 00:00:00 2001 From: Ryan Date: Sat, 4 Sep 2021 02:09:30 +1000 Subject: Remove more cruft in keyboard files (#14288) --- keyboards/lfkeyboards/smk65/revb/revb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'keyboards/lfkeyboards/smk65/revb/revb.c') diff --git a/keyboards/lfkeyboards/smk65/revb/revb.c b/keyboards/lfkeyboards/smk65/revb/revb.c index 7498febeb3..01c339f06b 100644 --- a/keyboards/lfkeyboards/smk65/revb/revb.c +++ b/keyboards/lfkeyboards/smk65/revb/revb.c @@ -34,12 +34,12 @@ void matrix_init_kb(void) #ifdef AUDIO_ENABLE // audio_init() sets PB5 to output and drives it low, which breaks our matrix // so reset PB5 to input - cbi(DDRB, 5); - sbi(PORTB, 5); + setPinInput(B5); + writePinHigh(B5); #else // If we're not using the audio pin, drive it low - sbi(DDRC, 6); - cbi(PORTC, 6); + setPinOutput(C6); + writePinLow(C6); #endif #ifdef ISSI_ENABLE -- cgit v1.2.3