From 9fc3e26f70d343c6fbc7b63b36846a868f015608 Mon Sep 17 00:00:00 2001 From: Mikkel Jeppesen <{dumle29}@users.noreply.github.com> Date: Sat, 30 Dec 2017 14:15:28 +0100 Subject: [PATCH] Fix of #2094 --- quantum/audio/audio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index 29bad8060b..85220e1630 100644 --- a/quantum/audio/audio.c +++ b/quantum/audio/audio.c @@ -151,16 +151,16 @@ void audio_init() #ifdef C6_AUDIO DDRC |= _BV(PORTC6); - #else - DDRC |= _BV(PORTC6); - PORTC &= ~_BV(PORTC6); + //#else + // DDRC |= _BV(PORTC6); // Why is PC6 being set as output low, if C6_audio isn't defined? + // PORTC &= ~_BV(PORTC6); #endif #ifdef B5_AUDIO DDRB |= _BV(PORTB5); - #else - DDRB |= _BV(PORTB5); - PORTB &= ~_BV(PORTB5); + //#else + // DDRB |= _BV(PORTB5); // Same as with PC6 + // PORTB &= ~_BV(PORTB5); #endif #ifdef C6_AUDIO