X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Flascar-el-usb%2Fprotocol.h;h=14699096792959ca7d2fdec3900901983cf394c5;hp=9e7b716783f94ea5a8d45158eac1c43ac2ca7764;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c diff --git a/src/hardware/lascar-el-usb/protocol.h b/src/hardware/lascar-el-usb/protocol.h index 9e7b7167..14699096 100644 --- a/src/hardware/lascar-el-usb/protocol.h +++ b/src/hardware/lascar-el-usb/protocol.h @@ -39,9 +39,9 @@ #define SLEEP_US_LONG (5 * 1000) #define SLEEP_US_SHORT (1 * 1000) -/** Private, per-device-instance driver context. */ struct dev_context { const struct elusb_profile *profile; + /* Generic EL-USB */ unsigned char config[MAX_CONFIGBLOCK_SIZE]; unsigned int log_size; @@ -50,6 +50,7 @@ struct dev_context { unsigned int logged_samples; unsigned int rcvd_samples; uint64_t limit_samples; + /* Model-specific */ /* EL-USB-CO: these are something like scaling and calibration values * fixed per device, used to convert the sample values to CO ppm. */