X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fopenbench-logic-sniffer%2Fprotocol.h;h=00ed35bed177fdba2b031b8c5d579cbdd04b15fb;hb=0c7c6a1d7e2ad201a540fae1abb3843f26fea1e7;hp=2506c4a95d4bbab2f9aafd832acbebde1d5b1a43;hpb=838f01227382bfd8e5b9c817e7fefff93d2c7b28;p=libsigrok.git diff --git a/src/hardware/openbench-logic-sniffer/protocol.h b/src/hardware/openbench-logic-sniffer/protocol.h index 2506c4a9..00ed35be 100644 --- a/src/hardware/openbench-logic-sniffer/protocol.h +++ b/src/hardware/openbench-logic-sniffer/protocol.h @@ -99,8 +99,10 @@ #define OLS_NO_TRIGGER (-1) struct dev_context { + char **channel_names; + /* constant device properties: */ - int max_channels; + size_t max_channels; uint32_t max_samples; uint32_t max_samplerate; uint32_t protocol_version;