pull/2207/merge 0.5.201
Mikkel Jeppesen 7 years ago committed by Jack Humbert
parent e9f44ee96d
commit 9fc3e26f70

@ -151,16 +151,16 @@ void audio_init()
#ifdef C6_AUDIO #ifdef C6_AUDIO
DDRC |= _BV(PORTC6); DDRC |= _BV(PORTC6);
#else //#else
DDRC |= _BV(PORTC6); // DDRC |= _BV(PORTC6); // Why is PC6 being set as output low, if C6_audio isn't defined?
PORTC &= ~_BV(PORTC6); // PORTC &= ~_BV(PORTC6);
#endif #endif
#ifdef B5_AUDIO #ifdef B5_AUDIO
DDRB |= _BV(PORTB5); DDRB |= _BV(PORTB5);
#else //#else
DDRB |= _BV(PORTB5); // DDRB |= _BV(PORTB5); // Same as with PC6
PORTB &= ~_BV(PORTB5); // PORTB &= ~_BV(PORTB5);
#endif #endif
#ifdef C6_AUDIO #ifdef C6_AUDIO

Loading…
Cancel
Save