]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/lecroy-xstream/protocol.h
drivers: Use array-based approach in some places.
[libsigrok.git] / src / hardware / lecroy-xstream / protocol.h
index 266504e6290852f21949ce3cc3ca26a2f5473958..fecab8905147f20854bc0c48d88ff51df03254b9 100644 (file)
@@ -45,6 +45,7 @@ struct scope_config {
        const uint8_t num_trigger_sources;
 
        const char *(*trigger_slopes)[];
+       const uint8_t num_trigger_slopes;
 
        const struct sr_rational *timebases;
        const uint8_t num_timebases;