neingeist
/
arduinisten
Archived
1
0
Fork 0

hannes' awesome macro tip

master
Eve Entropia 15 years ago
parent 0223193ede
commit 6f322ca626

@ -12,7 +12,7 @@
do { \ do { \
timer_set(&timer, t); \ timer_set(&timer, t); \
PT_WAIT_UNTIL(pt, timer_expired(&timer)); \ PT_WAIT_UNTIL(pt, timer_expired(&timer)); \
} while(0); } while(0)
/* Two timers for the two protothreads. */ /* Two timers for the two protothreads. */
static struct timer timer1, timer2; static struct timer timer1, timer2;