diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-01 16:32:03 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-12-01 16:32:03 +0000 |
commit | 198e28f071a6c2e5ccb54d97105c85d1f3936b18 (patch) | |
tree | 4dc94308db9e0159e012ad7fb9241a62bcc81db3 /nuttx/ChangeLog | |
parent | 6339d12dc255bd1f49b08cdfe4adfd277a6b3e7d (diff) | |
download | nuttx-198e28f071a6c2e5ccb54d97105c85d1f3936b18.tar.gz nuttx-198e28f071a6c2e5ccb54d97105c85d1f3936b18.tar.bz2 nuttx-198e28f071a6c2e5ccb54d97105c85d1f3936b18.zip |
Add one to internal result of random number generator to avoid the value zero, from Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5404 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 61a5a26d6..62937d4fe 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -3722,3 +3722,5 @@ * include/nuttx/input/keypad.h, arch/arm/src/calypso/calypso_keypad.c, and configs/compal_e99/nsh_highram: First cut at a standard keypad interface definition. Contributed by Denis Carikli. + * libc/stdlib/lib_rand.c: Always add one to result congruential generators + to avoid the value zero. Suggested by Freddie Chopin. |