]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/ols.c
Add SR_HZ macro for consistency.
[libsigrok.git] / hardware / openbench-logic-sniffer / ols.c
index 8f8f5cb2d8981519979a6a9661786593a4350c4f..51379d930391c95517b74888612e5ab326d43273 100644 (file)
@@ -92,10 +92,10 @@ static int capabilities[] = {
 };
 
 static struct sr_samplerates samplerates = {
-       10,
+       SR_HZ(10),
        SR_MHZ(200),
-       1,
-       0,
+       SR_HZ(1),
+       NULL,
 };
 
 /* List of struct sr_serial_device_instance */