Merge branch 'master' of ssh://hygiene.bl0rg.net/srv/git/arduinisten
This commit is contained in:
		
						commit
						3c2eba78f0
					
				
					 3 changed files with 56 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -7,7 +7,7 @@
 | 
			
		|||
#include "clock.h"
 | 
			
		||||
#include "timer.h"
 | 
			
		||||
 | 
			
		||||
/* TIMER_DELAY macro for convenience */
 | 
			
		||||
/* TIMER_DELAY macro for convenience, do { } while(0) is just a macro trick */
 | 
			
		||||
#define TIMER_DELAY(pt, timer, t) \
 | 
			
		||||
  do { \
 | 
			
		||||
  timer_set(&timer, t); \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue