X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fchronovu-la8%2Fprotocol.c;h=35a0342c30eb34b9ca6a36da6a0b35a06e2b9f3b;hb=7ec5b54955118d8c1ee003a02c3334f1a0046457;hp=5eb781e1dfdacde8648116d36d2cdd9875f3b320;hpb=786934010365a0b33aa8a32a7dc62a2975dba4c7;p=libsigrok.git diff --git a/hardware/chronovu-la8/protocol.c b/hardware/chronovu-la8/protocol.c index 5eb781e1..35a0342c 100644 --- a/hardware/chronovu-la8/protocol.c +++ b/hardware/chronovu-la8/protocol.c @@ -30,7 +30,7 @@ SR_PRIV const char *probe_names[NUM_PROBES + 1] = { NULL, }; -/* This will be initialized via hw_info_get()/SR_DI_SAMPLERATES. */ +/* This will be initialized via config_list()/SR_CONF_SAMPLERATE. */ SR_PRIV uint64_t supported_samplerates[255 + 1] = { 0 }; /* @@ -46,10 +46,10 @@ const struct sr_samplerates samplerates = { /* Note: Continuous sampling is not supported by the hardware. */ SR_PRIV const int hwcaps[] = { - SR_HWCAP_LOGIC_ANALYZER, - SR_HWCAP_SAMPLERATE, - SR_HWCAP_LIMIT_MSEC, /* TODO: Not yet implemented. */ - SR_HWCAP_LIMIT_SAMPLES, /* TODO: Not yet implemented. */ + SR_CONF_LOGIC_ANALYZER, + SR_CONF_SAMPLERATE, + SR_CONF_LIMIT_MSEC, /* TODO: Not yet implemented. */ + SR_CONF_LIMIT_SAMPLES, /* TODO: Not yet implemented. */ 0, };