[Bug] Realign and size check EECONFIG structures (#20541)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									01be981843
								
							
						
					
					
						commit
						5c4b53a143
					
				
					 13 changed files with 59 additions and 58 deletions
				
			
		| 
						 | 
				
			
			@ -43,6 +43,8 @@ typedef union {
 | 
			
		|||
    };
 | 
			
		||||
} audio_config_t;
 | 
			
		||||
 | 
			
		||||
_Static_assert(sizeof(audio_config_t) == sizeof(uint8_t), "Audio EECONFIG out of spec.");
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * 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