X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Flibsigrok-internal.h;h=63fcff919c93f8c2c8455f44d084533aae1a9bba;hb=950043c30ecd2a0d1d15a14f0d07f29b06157fc6;hp=642277ebfd47d5c1e1a95076ad841ef62a20eb03;hpb=d686c5ec462a4044e049931e57d60e9d08df8cde;p=libsigrok.git diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index 642277eb..63fcff91 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -209,7 +209,7 @@ struct sr_output_module { * If cached is TRUE, no new GVariants are created for the def and * values fields; instead, the current values are returned. */ - struct sr_option *(*options) (gboolean cached); + struct sr_option *(*options) (void); /** * This function is called once, at the beginning of an output stream. @@ -740,4 +740,15 @@ SR_PRIV gboolean sr_rs9lcd_packet_valid(const uint8_t *buf); SR_PRIV int sr_rs9lcd_parse(const uint8_t *buf, float *floatval, struct sr_datafeed_analog *analog, void *info); +/*--- hardware/common/dmm/bm25x.c -----------------------------------------*/ + +#define BRYMEN_BM25X_PACKET_SIZE 15 + +/* Dummy info struct. The parser does not use it. */ +struct bm25x_info { int dummy; }; + +SR_PRIV gboolean sr_brymen_bm25x_packet_valid(const uint8_t *buf); +SR_PRIV int sr_brymen_bm25x_parse(const uint8_t *buf, float *floatval, + struct sr_datafeed_analog *analog, void *info); + #endif