raiden00pl commented on code in PR #17408:
URL: https://github.com/apache/nuttx/pull/17408#discussion_r2586292709
##########
drivers/sensors/Kconfig:
##########
@@ -17,6 +17,24 @@ config USENSOR
---help---
Allow application to register user sensor by /dev/usensor.
+choice
+ prompt "Sensor framework data type"
+ default SENSORS_USE_FLOAT
+
+config SENSORS_USE_FLOAT
+ bool "Use float as data type for sensors"
+ ---help---
+ Use float as data type for sensors.
+ This option is recommended if for targets with FPU support.
+
+config SENSORS_USE_B16
Review Comment:
b32 is 64 bit number which is as bad for small systems as floats :)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]