~ruther/qmk_firmware

9fc3e26f70d343c6fbc7b63b36846a868f015608 — Mikkel Jeppesen 7 years ago e9f44ee
Fix of #2094
1 files changed, 6 insertions(+), 6 deletions(-)

M quantum/audio/audio.c
M quantum/audio/audio.c => quantum/audio/audio.c +6 -6
@@ 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