1. Added a missing '&' in lib/trickle-timer.h
2. Removed executable permissions of lib/trickle-timer.c & .h
This commit is contained in:
parent
b5815e8509
commit
e75dacb5fa
0
core/lib/trickle-timer.c
Executable file → Normal file
0
core/lib/trickle-timer.c
Executable file → Normal file
2
core/lib/trickle-timer.h
Executable file → Normal file
2
core/lib/trickle-timer.h
Executable file → Normal file
|
@ -437,7 +437,7 @@ uint8_t trickle_timer_set(struct trickle_timer *tt,
|
||||||
* to reset a timer manually. Instead, in response to events or inconsistencies,
|
* to reset a timer manually. Instead, in response to events or inconsistencies,
|
||||||
* the corresponding functions must be used
|
* the corresponding functions must be used
|
||||||
*/
|
*/
|
||||||
#define trickle_timer_stop(tt) ctimer_stop((tt)->ct)
|
#define trickle_timer_stop(tt) ctimer_stop(&((tt)->ct))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief To be called by the protocol when it hears a consistent
|
* \brief To be called by the protocol when it hears a consistent
|
||||||
|
|
Loading…
Reference in a new issue