Obsolete the old MACROS and MACROE convenience macros.
This commit is contained in:
		
							parent
							
								
									6c8ebd70c7
								
							
						
					
					
						commit
						41634c4530
					
				
					 14 changed files with 91 additions and 91 deletions
				
			
		| 
						 | 
				
			
			@ -186,9 +186,9 @@
 | 
			
		|||
			#endif
 | 
			
		||||
 | 
			
		||||
		/* Macros: */
 | 
			
		||||
			#define HOST_TASK_NONBLOCK_WAIT(Duration, NextState) MACROS{ USB_HostState   = HOST_STATE_WaitForDevice; \
 | 
			
		||||
			                                                             WaitMSRemaining = (Duration);               \
 | 
			
		||||
			                                                             PostWaitState   = (NextState);              }MACROE
 | 
			
		||||
			#define HOST_TASK_NONBLOCK_WAIT(Duration, NextState) do { USB_HostState   = HOST_STATE_WaitForDevice; \
 | 
			
		||||
			                                                          WaitMSRemaining = (Duration);               \
 | 
			
		||||
			                                                          PostWaitState   = (NextState);              } while (0)
 | 
			
		||||
	#endif
 | 
			
		||||
 | 
			
		||||
	/* Disable C linkage for C++ Compilers: */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue