X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fnexus-osciprime%2Fapi.c;h=dc97b9a720f864a326adc4fb465f202d5d316feb;hb=1953564a96798bc298d1c94eb90c129adbde1c9e;hp=a902b1435ce57df5a953c4081dd658102cc69274;hpb=c89c1c9c211a197f24de7bfd32ecbc873dd66818;p=libsigrok.git diff --git a/hardware/nexus-osciprime/api.c b/hardware/nexus-osciprime/api.c index a902b143..dc97b9a7 100644 --- a/hardware/nexus-osciprime/api.c +++ b/hardware/nexus-osciprime/api.c @@ -30,17 +30,17 @@ #define OSCI_VIDPID "04b4.1004" static const int hwopts[] = { - SR_HWOPT_CONN, - SR_HWOPT_SERIALCOMM, + SR_CONF_CONN, + SR_CONF_SERIALCOMM, 0, }; static const int hwcaps[] = { - SR_HWCAP_OSCILLOSCOPE, - SR_HWCAP_LIMIT_SAMPLES, - SR_HWCAP_CONTINUOUS, - SR_HWCAP_TIMEBASE, - SR_HWCAP_VDIV, + SR_CONF_OSCILLOSCOPE, + SR_CONF_LIMIT_SAMPLES, + SR_CONF_CONTINUOUS, + SR_CONF_TIMEBASE, + SR_CONF_VDIV, 0, }; @@ -179,7 +179,7 @@ static GSList *hw_scan(GSList *options) for (l = options; l; l = l->next) { src = l->data; switch (src->key) { - case SR_HWOPT_CONN: + case SR_CONF_CONN: conn = src->value; break; }