mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 13:22:31 +01:00 
			
		
		
		
	Merge pull request #36 from hexwab/midimacrofix
Add missing argument parenthesis on the MIDI_EVENT() macro.
This commit is contained in:
		
						commit
						7423c1213f
					
				| @ -135,7 +135,7 @@ | |||||||
| 		 * | 		 * | ||||||
| 		 *  \return Constructed MIDI event ID. | 		 *  \return Constructed MIDI event ID. | ||||||
| 		 */ | 		 */ | ||||||
| 		#define MIDI_EVENT(virtualcable, command)  ((virtualcable << 4) | (command >> 4)) | 		#define MIDI_EVENT(virtualcable, command)  (((virtualcable) << 4) | ((command) >> 4)) | ||||||
| 
 | 
 | ||||||
| 	/* Enums: */ | 	/* Enums: */ | ||||||
| 		/** Enum for the possible MIDI jack types in a MIDI device jack descriptor. */ | 		/** Enum for the possible MIDI jack types in a MIDI device jack descriptor. */ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dean Camera
						Dean Camera