summaryrefslogtreecommitdiffstats
path: root/keyboards/cu75/cu75.c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-04 02:09:30 +1000
committerGitHub <noreply@github.com>2021-09-03 17:09:30 +0100
commit8574bf20d35b21c7b44ba8550fa11b4d100fdbbd (patch)
treed2492bc01a53343a1f86e7f49d85726686e3f6f1 /keyboards/cu75/cu75.c
parenta01057d19dfa208fcf5c7cd16689257cb41ac79b (diff)
Remove more cruft in keyboard files (#14288)
Diffstat (limited to 'keyboards/cu75/cu75.c')
-rw-r--r--keyboards/cu75/cu75.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyboards/cu75/cu75.c b/keyboards/cu75/cu75.c
index 80941df390..43600efad2 100644
--- a/keyboards/cu75/cu75.c
+++ b/keyboards/cu75/cu75.c
@@ -28,12 +28,12 @@ void matrix_init_kb(void)
audio_init();
PLAY_SONG(test_sound);
// Fix port B5
- 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
issi_init();