]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ikalogic-scanalogic2/api.c
Remove unneeded explicit array size specification.
[libsigrok.git] / src / hardware / ikalogic-scanalogic2 / api.c
index 97a733a18e194d105838e9486a4fc4f18b52c04b..78b406ea60e3dba18aac3e5b77c361abc97d0178 100644 (file)
@@ -47,7 +47,7 @@ SR_PRIV const uint64_t sl2_samplerates[NUM_SAMPLERATES] = {
        SR_MHZ(20),
 };
 
-static const char *channel_names[NUM_CHANNELS + 1] = {
+static const char *channel_names[] = {
        "0", "1", "2", "3",
        NULL,
 };