Fix by Al.
This commit is contained in:
parent
521633b3a4
commit
17e34f508d
|
@ -43,9 +43,9 @@ typedef struct timer
|
||||||
#define tmr_arg(tp) (&(tp)->tmr_arg)
|
#define tmr_arg(tp) (&(tp)->tmr_arg)
|
||||||
#define tmr_exp_time(tp) (&(tp)->tmr_exp_time)
|
#define tmr_exp_time(tp) (&(tp)->tmr_exp_time)
|
||||||
|
|
||||||
/* Timers should be initialize once before they are being used. Be careful
|
/* Timers should be initialized once before they are being used. Be careful
|
||||||
* not the reinitialize a timer that is a list of timers, or the chain will
|
* not to reinitialize a timer that is in a list of timers, or the chain
|
||||||
* be broken.
|
* will be broken.
|
||||||
*/
|
*/
|
||||||
#define tmr_inittimer(tp) (void)((tp)->tmr_exp_time = TMR_NEVER, \
|
#define tmr_inittimer(tp) (void)((tp)->tmr_exp_time = TMR_NEVER, \
|
||||||
(tp)->tmr_next = NULL)
|
(tp)->tmr_next = NULL)
|
||||||
|
|
Loading…
Reference in a new issue