]> sigrok.org Git - libsigrok.git/blobdiff - hardware/link-mso19/api.c
Drivers: Explicitly list sr_samplerates fields.
[libsigrok.git] / hardware / link-mso19 / api.c
index 9fcb9cf81f49d3a9ce32c89562b29620a3f1f81c..93b77673203b30b8927933a56b442b18509398b1 100644 (file)
@@ -41,12 +41,11 @@ SR_PRIV const char *mso19_probe_names[NUM_PROBES + 1] = {
        "0", "1", "2", "3", "4", "5", "6", "7", NULL
 };
 
-/*supported samplerates */
 static const struct sr_samplerates samplerates = {
-       SR_HZ(100),
-       SR_MHZ(200),
-       SR_HZ(100),
-       NULL,
+       .low  = SR_HZ(100),
+       .high = SR_MHZ(200),
+       .step = SR_HZ(100),
+       .list = NULL,
 };
 
 SR_PRIV struct sr_dev_driver link_mso19_driver_info;