summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorMikkel Jeppesen <{dumle29}@users.noreply.github.com>2017-12-30 14:15:28 +0100
committerJack Humbert <jack.humb@gmail.com>2017-12-31 22:46:31 -0500
commit9fc3e26f70d343c6fbc7b63b36846a868f015608 (patch)
tree60e5ec3bfdb9502886cba684c0c1810a915c92bd /quantum
parente9f44ee96d7c89ea9c6b8a199aba7f938d826b62 (diff)
downloadqmk_firmware-9fc3e26f70d343c6fbc7b63b36846a868f015608.tar.gz
qmk_firmware-9fc3e26f70d343c6fbc7b63b36846a868f015608.zip
Fix of #2094
Diffstat (limited to 'quantum')
-rw-r--r--quantum/audio/audio.c12
1 files 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