]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/zeroplus.c
Drivers: Explicitly list sr_samplerates fields.
[libsigrok.git] / hardware / zeroplus-logic-cube / zeroplus.c
index 9d9e227d1b1ecf8120b4e1284ca67de03815768b..00200b6954762395cd99835f1e00b6caec1e95d1 100644 (file)
@@ -126,10 +126,10 @@ static const uint64_t supported_samplerates[] = {
 };
 
 static const struct sr_samplerates samplerates = {
-       0,
-       0,
-       0,
-       supported_samplerates,
+       .low  = 0,
+       .high = 0,
+       .step = 0,
+       .list = supported_samplerates,
 };
 
 /* Private, per-device-instance driver context. */