]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: supported_samplerates[] should be 0-terminated.
authorUwe Hermann <redacted>
Wed, 18 Apr 2012 22:55:29 +0000 (00:55 +0200)
committerUwe Hermann <redacted>
Wed, 18 Apr 2012 22:55:29 +0000 (00:55 +0200)
hardware/fx2lafw/fx2lafw.c

index 01c460f7dc647cc43f25907502987745e02004e5..bc5fc8990c945d3306f1d402cf58bb036029c763 100644 (file)
@@ -97,6 +97,7 @@ static uint64_t supported_samplerates[] = {
        SR_MHZ(12),
        SR_MHZ(16),
        SR_MHZ(24),
+       0,
 };
 
 static struct sr_samplerates samplerates = {