From: Mikkel Jeppesen <{dumle29}@users.noreply.github.com> Date: Sat, 30 Dec 2017 13:15:28 +0000 (+0100) Subject: Fix of #2094 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=9fc3e26f70d343c6fbc7b63b36846a868f015608;p=qmk_firmware.git Fix of #2094 --- diff --git a/quantum/audio/audio.c b/quantum/audio/audio.c index 29bad8060..85220e163 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