diff options
| author | Mikkel Jeppesen <{dumle29}@users.noreply.github.com> | 2017-12-30 14:15:28 +0100 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-31 22:46:31 -0500 |
| commit | 9fc3e26f70d343c6fbc7b63b36846a868f015608 (patch) | |
| tree | 60e5ec3bfdb9502886cba684c0c1810a915c92bd /quantum/audio | |
| parent | e9f44ee96d7c89ea9c6b8a199aba7f938d826b62 (diff) | |
| download | qmk_firmware-9fc3e26f70d343c6fbc7b63b36846a868f015608.tar.gz qmk_firmware-9fc3e26f70d343c6fbc7b63b36846a868f015608.zip | |
Fix of #2094
Diffstat (limited to 'quantum/audio')
| -rw-r--r-- | quantum/audio/audio.c | 12 |
1 files changed, 6 insertions, 6 deletions
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() | |||
| 151 | 151 | ||
| 152 | #ifdef C6_AUDIO | 152 | #ifdef C6_AUDIO |
| 153 | DDRC |= _BV(PORTC6); | 153 | DDRC |= _BV(PORTC6); |
| 154 | #else | 154 | //#else |
| 155 | DDRC |= _BV(PORTC6); | 155 | // DDRC |= _BV(PORTC6); // Why is PC6 being set as output low, if C6_audio isn't defined? |
| 156 | PORTC &= ~_BV(PORTC6); | 156 | // PORTC &= ~_BV(PORTC6); |
| 157 | #endif | 157 | #endif |
| 158 | 158 | ||
| 159 | #ifdef B5_AUDIO | 159 | #ifdef B5_AUDIO |
| 160 | DDRB |= _BV(PORTB5); | 160 | DDRB |= _BV(PORTB5); |
| 161 | #else | 161 | //#else |
| 162 | DDRB |= _BV(PORTB5); | 162 | // DDRB |= _BV(PORTB5); // Same as with PC6 |
| 163 | PORTB &= ~_BV(PORTB5); | 163 | // PORTB &= ~_BV(PORTB5); |
| 164 | #endif | 164 | #endif |
| 165 | 165 | ||
| 166 | #ifdef C6_AUDIO | 166 | #ifdef C6_AUDIO |
