Tidy up duplication of MIN/MAX fallback implementations (#20236)
This commit is contained in:
		
							parent
							
								
									42aa83787f
								
							
						
					
					
						commit
						b01dc36fbf
					
				
					 8 changed files with 7 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -43,11 +43,6 @@ typedef union {
 | 
			
		|||
    };
 | 
			
		||||
} audio_config_t;
 | 
			
		||||
 | 
			
		||||
// AVR/LUFA has a MIN, arm/chibios does not
 | 
			
		||||
#ifndef MIN
 | 
			
		||||
#    define MIN(a, b) (((a) < (b)) ? (a) : (b))
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * a 'musical note' is represented by pitch and duration; a 'musical tone' adds intensity and timbre
 | 
			
		||||
 * https://en.wikipedia.org/wiki/Musical_tone
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue