]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/pipistrello-ols/protocol.h
Remove unneeded explicit array size specification.
[libsigrok.git] / src / hardware / pipistrello-ols / protocol.h
index 869815a71f9f89d2bcd3a19b1bea35f755497a86..12a7e69f4b6e8f9469eb995642cc647c7ef740c0 100644 (file)
@@ -117,7 +117,7 @@ struct dev_context {
        unsigned char *raw_sample_buf;
 };
 
-SR_PRIV extern const char *p_ols_channel_names[NUM_CHANNELS + 1];
+SR_PRIV extern const char *p_ols_channel_names[];
 SR_PRIV int write_shortcommand(struct dev_context *devc, uint8_t command);
 SR_PRIV int write_longcommand(struct dev_context *devc, uint8_t command, uint8_t *data);
 SR_PRIV int p_ols_open(struct dev_context *devc);