]> sigrok.org Git - libsigrok.git/blobdiff - hardware/genericdmm/genericdmm.h
genericdmm: allow for default options in DMM profiles
[libsigrok.git] / hardware / genericdmm / genericdmm.h
index cb1e0a09cd90aa512c91ab3d79c2defff8f941f2..58d4a906dac2d009e30d56a656c33211122b7fd4 100644 (file)
@@ -40,10 +40,8 @@ struct dev_profile {
        char *vendor;
        char *model;
        struct dmmchip *chip;
-       /* Only use when the VID:PID is really specific to a DMM. */
-       uint16_t vid;
-       uint16_t pid;
        int transport;
+       struct sr_hwopt *defaults_opts;
 };
 
 struct context {