Remove more cruft in keyboard files (#14288)

This commit is contained in:
Ryan
2021-09-04 02:09:30 +10:00
committed by GitHub
parent a01057d19d
commit 8574bf20d3
17 changed files with 12 additions and 108 deletions

View File

@@ -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