contiki-os/contiki — pull request #270 by pabigot (2013-06-17 18:07:57+00:00)
Title: 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