]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/protocol.c
Rename SR_HWOPT_* and SR_HWCAP_* to SR_CONF_*
[libsigrok.git] / hardware / chronovu-la8 / protocol.c
index 9b25cd7f2aca7cda43998ead73e37cde42b78ba4..7a450cf478d20a7da06a726b67f37c09cc9c4e40 100644 (file)
 
 /* Probes are numbered 0-7. */
 SR_PRIV const char *probe_names[NUM_PROBES + 1] = {
-       "0",
-       "1",
-       "2",
-       "3",
-       "4",
-       "5",
-       "6",
-       "7",
+       "0", "1", "2", "3", "4", "5", "6", "7",
        NULL,
 };
 
@@ -53,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,
 };