diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-03-14 17:54:16 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-03-14 17:54:16 +0000 |
commit | aff5322d8d9bf10f227507321dcc76c6b6ec9055 (patch) | |
tree | 5ec50c09a63fe359aef85d271570df5c4d37953f /nuttx/lib/lib_libvsprintf.c | |
parent | 322c1c68cb1ccd33f4a24a662bc5189fc581d7b9 (diff) | |
download | px4-nuttx-aff5322d8d9bf10f227507321dcc76c6b6ec9055.tar.gz px4-nuttx-aff5322d8d9bf10f227507321dcc76c6b6ec9055.tar.bz2 px4-nuttx-aff5322d8d9bf10f227507321dcc76c6b6ec9055.zip |
Add config to enable floating point support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2542 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib/lib_libvsprintf.c')
-rw-r--r-- | nuttx/lib/lib_libvsprintf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/lib/lib_libvsprintf.c b/nuttx/lib/lib_libvsprintf.c index dff001545..1d28c1a6c 100644 --- a/nuttx/lib/lib_libvsprintf.c +++ b/nuttx/lib/lib_libvsprintf.c @@ -1465,12 +1465,14 @@ int lib_vsprintf(FAR struct lib_outstream_s *obj, const char *src, va_list ap) /* Handle floating point conversions */ +#ifdef CONFIG_LIBC_FLOATINGPOINT else if (strchr("eEfgG", *src)) { #ifdef CONFIG_CPP_HAVE_WARNING # warning "No floating point support" #endif } +#endif } return obj->nput; |