Commit graph

2 commits

Author SHA1 Message Date
Peter A. Bigot
eecb2c6183 examples/trickle-library: correct probability expression
Documented intent is to update with probability 1/NEW_TOKEN_PROB where
NEW_TOKEN_PROB is 0x80.  The current implementation updates with probability
1/2.  Update NEW_TOKEN_PROB and the expression to keep existing behavior
while correcting the calculation.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2013-06-17 13:03:37 -05:00
George Oikonomou
5ecd2a1e95 Add an example demonstrating trickle timers 2013-05-19 21:51:10 +01:00