Brijesh-Thakkar opened a new pull request, #21576:
URL: https://github.com/apache/nuttx/pull/21576

   **Summary:** `struct sensor_eng` `voltage[4]` is the only `sensor_*` member 
still declared as plain `float`, inconsistent with `sensor_data_t` used 
everywhere else; change it to `sensor_data_t`.
   **Impact:** No change for float builds (`sensor_data_t` is `float`, same 
size and layout); with `SENSORS_USE_B16` the member gets the configured `b16_t` 
type like all other sensor values.
   **Testing:** sim:baromonitor float build of upstream and this branch: 
identical `uorb_generator`/`uorb_listener` output and raw bytes for 
`sensor_baro0` and `sensor_eng0`; B16 build (`SENSORS_USE_B16=y`) compiles; 
checkpatch passes; `git grep` finds no in-tree users of `sensor_eng.voltage` 
(only `sizeof(struct sensor_eng)` in drivers/sensors/sensor.c and the 
format/ORB definitions in apps/system/uorb/sensor/eng.c).
   


-- 
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]

Reply via email to