]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/protocol.c
deprecate SR_DI_SAMPLERATES
[libsigrok.git] / hardware / chronovu-la8 / protocol.c
index 5eb781e1dfdacde8648116d36d2cdd9875f3b320..35a0342c30eb34b9ca6a36da6a0b35a06e2b9f3b 100644 (file)
@@ -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,
 };