hannes' awesome macro tip
This commit is contained in:
parent
0223193ede
commit
6f322ca626
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
do { \
|
||||
timer_set(&timer, t); \
|
||||
PT_WAIT_UNTIL(pt, timer_expired(&timer)); \
|
||||
} while(0);
|
||||
} while(0)
|
||||
|
||||
/* Two timers for the two protothreads. */
|
||||
static struct timer timer1, timer2;
|
||||
|
|
Reference in a new issue