fix travis and reduce warnings
This commit is contained in:
		
							parent
							
								
									15dc540cac
								
							
						
					
					
						commit
						1ac5dc9e52
					
				
					 3 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -24,6 +24,7 @@ void voice_deiterate() {
 | 
			
		|||
 | 
			
		||||
float voice_envelope(float frequency) {
 | 
			
		||||
    // envelope_index ranges from 0 to 0xFFFF, which is preserved at 880.0 Hz
 | 
			
		||||
    __attribute__ ((unused))
 | 
			
		||||
    uint16_t compensated_index = (uint16_t)((float)envelope_index * (880.0 / frequency));
 | 
			
		||||
 | 
			
		||||
    switch (voice) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue