X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fserial-dmm%2Fprotocol.h;h=decd429d89969acd6bd50e090cbcdd48da92eca4;hb=878e0e9d216c7c6bc7da0a74262bc1456561630d;hp=696f6b6ef314e0dfca2e7cae6777669f07f1b428;hpb=556a926d432dd21a1d911daec13c6a6bbc49cdbb;p=libsigrok.git diff --git a/src/hardware/serial-dmm/protocol.h b/src/hardware/serial-dmm/protocol.h index 696f6b6e..decd429d 100644 --- a/src/hardware/serial-dmm/protocol.h +++ b/src/hardware/serial-dmm/protocol.h @@ -49,6 +49,8 @@ struct dmm_info { int (*packet_request)(struct sr_serial_dev_inst *); /** Number of channels / displays. */ size_t channel_count; + /** (Optional) printf formats for channel names. */ + const char **channel_formats; /** Packet validation function. */ gboolean (*packet_valid)(const uint8_t *); /** Packet parsing function. */