xiaoxiang781216 commented on code in PR #9916:
URL: https://github.com/apache/nuttx/pull/9916#discussion_r1276651429


##########
include/nuttx/sensors/sensor.h:
##########
@@ -595,6 +603,15 @@ struct sensor_cap           /* Type: Capacitance */
   int32_t rawdata[4];       /* in SI units pF */
 };
 
+struct sensor_gas           /* Type: Gas */
+{
+  uint64_t timestamp;       /* Units is microseconds */
+  float temperature;        /* Temperature in degrees Celsius */
+  float pressure;           /* Pressure in millibar or hPa */
+  float humidity;           /* Relative humidity in rH */

Review Comment:
   why not reuse sensor_baro and sensor_humi?



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