diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-04-30 15:54:02 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-04-30 15:54:02 -0600 |
commit | 45c144ba134835b0a66bdcb7dd40114c7b6a8249 (patch) | |
tree | 3ee75ed806c7f0de92d28b1bb00dd6d017fab0cf /nuttx/libc | |
parent | 8241609e9edbab8443fb4a3f278bfc7a924c05b1 (diff) | |
download | px4-nuttx-45c144ba134835b0a66bdcb7dd40114c7b6a8249.tar.gz px4-nuttx-45c144ba134835b0a66bdcb7dd40114c7b6a8249.tar.bz2 px4-nuttx-45c144ba134835b0a66bdcb7dd40114c7b6a8249.zip |
Add configuration and example to test MTD partitions
Diffstat (limited to 'nuttx/libc')
-rw-r--r-- | nuttx/libc/Kconfig | 8 | ||||
-rw-r--r-- | nuttx/libc/spawn/lib_psa_init.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig index a549ced45..09c332725 100644 --- a/nuttx/libc/Kconfig +++ b/nuttx/libc/Kconfig @@ -48,6 +48,14 @@ config LIBC_FLOATINGPOINT By default, floating point support in printf, sscanf, etc. is disabled. +config LIB_RAND_ORDER + int "Order of the random number generate" + default 1 + range 1 3 + ---help--- + The order of the random number generator. 1=fast but very bad random + numbers, 3=slow but very good random numbers. + choice prompt "Newline Options" default EOL_IS_EITHER_CRLF diff --git a/nuttx/libc/spawn/lib_psa_init.c b/nuttx/libc/spawn/lib_psa_init.c index c016cc6cd..c70421f36 100644 --- a/nuttx/libc/spawn/lib_psa_init.c +++ b/nuttx/libc/spawn/lib_psa_init.c @@ -98,9 +98,11 @@ int posix_spawnattr_init(posix_spawnattr_t *attr) attr->policy = sched_getscheduler(0); +#ifndef CONFIG_DISABLE_SIGNALS /* Empty signal masek */ attr->sigmask = 0; +#endif /* Default stack size */ |