]> sigrok.org Git - libsigrok.git/blobdiff - hardware/asix-sigma/asix-sigma.c
Drivers: Explicitly list sr_samplerates fields.
[libsigrok.git] / hardware / asix-sigma / asix-sigma.c
index 59a1ec4289c3e183494582b75a7a03a492ab36d3..afbf51deb2b3113bff88f2ac72a8afde1c5910ec 100644 (file)
@@ -70,10 +70,10 @@ static const char *probe_names[NUM_PROBES + 1] = {
 };
 
 static const struct sr_samplerates samplerates = {
-       0,
-       0,
-       0,
-       supported_samplerates,
+       .low  = 0,
+       .high = 0,
+       .step = 0,
+       .list = supported_samplerates,
 };
 
 static const int hwcaps[] = {