X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fserial-dmm%2Fprotocol.h;fp=src%2Fhardware%2Fserial-dmm%2Fprotocol.h;h=696f6b6ef314e0dfca2e7cae6777669f07f1b428;hb=556a926d432dd21a1d911daec13c6a6bbc49cdbb;hp=c80180ce0b976c089036b8d26d4b50d249b3ef53;hpb=51e1f5661c7ff12fa902643d5c3f0fd0f7e43d52;p=libsigrok.git diff --git a/src/hardware/serial-dmm/protocol.h b/src/hardware/serial-dmm/protocol.h index c80180ce..696f6b6e 100644 --- a/src/hardware/serial-dmm/protocol.h +++ b/src/hardware/serial-dmm/protocol.h @@ -47,6 +47,8 @@ struct dmm_info { int64_t req_delay_ms; /** Packet request function. */ int (*packet_request)(struct sr_serial_dev_inst *); + /** Number of channels / displays. */ + size_t channel_count; /** Packet validation function. */ gboolean (*packet_valid)(const uint8_t *); /** Packet parsing function. */