Fix of #2094
This commit is contained in:
		
							parent
							
								
									e9f44ee96d
								
							
						
					
					
						commit
						9fc3e26f70
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue