qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 9fc3e26f70d343c6fbc7b63b36846a868f015608
parent e9f44ee96d7c89ea9c6b8a199aba7f938d826b62
Author: Mikkel Jeppesen <{dumle29}@users.noreply.github.com>
Date:   Sat, 30 Dec 2017 14:15:28 +0100

Fix of #2094

Diffstat:
quantum/audio/audio.c | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git 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