]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.c
Drivers: Explicitly list sr_samplerates fields.
[libsigrok.git] / hardware / fx2lafw / fx2lafw.c
index a0955371a21e105fd129208a03e7c6d4ef264691..fb673d675ac784725cf7e20f78a61bdc49230a6d 100644 (file)
@@ -118,10 +118,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,
 };
 
 SR_PRIV struct sr_dev_driver fx2lafw_driver_info;