]> sigrok.org Git - libsigrok.git/blobdiff - hardware/lascar-el-usb/protocol.h
lascar-el-usb: support for EL-USB-2*
[libsigrok.git] / hardware / lascar-el-usb / protocol.h
index 80d23824378955fe9a62a6f4d96627e252e75cb7..e94839419f1a040fb3a1ea3a7614bca9817c2f22 100644 (file)
@@ -55,10 +55,12 @@ struct dev_context {
        unsigned int rcvd_samples;
        unsigned int limit_samples;
        /* Model-specific */
-       /* EL-USB-CO: these are something like calibration values fixed per
-        * device, used to convert the sample values to CO ppm. */
+       /* EL-USB-CO: these are something like scaling and calibration values
+        * fixed per device, used to convert the sample values to CO ppm. */
        float co_high;
        float co_low;
+       /* Temperature units as stored in the device config. */
+       int temp_unit;
 };
 
 enum {