X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Flibsigrok-internal.h;h=2e041a26aef37edac32f4823ae3e864685085bc4;hb=9d12555fba786b0e820a530efbfb574b5ad13245;hp=fa4432fb8946b3e7957a4de26fc39b778563b295;hpb=4ba4d52a8f9c66f6b941a545e17c684e65356aff;p=libsigrok.git diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index fa4432fb..2e041a26 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -1210,6 +1210,9 @@ SR_PRIV int sr_dtm0660_parse(const uint8_t *buf, float *floatval, #define BBCGM_M2110_PACKET_SIZE 9 +/* Dummy info struct. The parser does not use it. */ +struct m2110_info { int dummy; }; + SR_PRIV gboolean sr_m2110_packet_valid(const uint8_t *buf); SR_PRIV int sr_m2110_parse(const uint8_t *buf, float *floatval, struct sr_datafeed_analog *analog, void *info);