raiden00pl commented on issue #15599: URL: https://github.com/apache/nuttx/issues/15599#issuecomment-2602499950
> @raiden00pl good point! But the sensors are using float by default, so soon or later user will want to printf the result and that will create frustration for them and support for us. I can't agree with that. You print sensors values only when debugging or developing your app. In real life applications printing the sensor value is probably not what you want to achieve, but process the value in a different way. > I think CONFIG_LIBC_FLOATINGPOINT is something that should be enabled by default always, execpt maybe for MCUs that doesn't have FPU or SMALL is enabled. That's exactly how it is: ``` config LIBC_FLOATINGPOINT bool "Enable floating point in printf" default !DEFAULT_SMALL && ARCH_FPU depends on !LIBM_NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org