X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Ffx2lafw%2Ffx2lafw.c;h=a40a17ac486b850426ea6b2d57693a4c6bce3a3a;hb=a533743dd1680bb53f29b6a01cccbc5380027e77;hp=9897fb9eab91cd7e0173d83b9b7265a9c4d00d0b;hpb=1b79df2f57012926927983a8e2829004f0eee4fa;p=libsigrok.git diff --git a/hardware/fx2lafw/fx2lafw.c b/hardware/fx2lafw/fx2lafw.c index 9897fb9e..a40a17ac 100644 --- a/hardware/fx2lafw/fx2lafw.c +++ b/hardware/fx2lafw/fx2lafw.c @@ -95,7 +95,7 @@ static const char *probe_names[] = { NULL, }; -static uint64_t supported_samplerates[] = { +static const uint64_t supported_samplerates[] = { SR_KHZ(20), SR_KHZ(25), SR_KHZ(50), @@ -115,7 +115,7 @@ static uint64_t supported_samplerates[] = { 0, }; -static struct sr_samplerates samplerates = { +static const struct sr_samplerates samplerates = { 0, 0, 0,