]> 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 84171c355cd56e02921badf2f4db733f74b06b70..12a7e69f4b6e8f9469eb995642cc647c7ef740c0 100644 (file)
@@ -36,7 +36,6 @@
 
 #define FTDI_BUF_SIZE          (16 * 1024)
 
-
 #define NUM_CHANNELS           32
 #define NUM_TRIGGER_STAGES     4
 #define CLOCK_RATE             SR_MHZ(100)
@@ -118,8 +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);