X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fdmm%2Ffs9922.c;h=5325e6dd50478874c30cb910d5e29f0c798714e5;hp=ae2b4850bb5b70229a94cf5801fcac8f82fd5758;hb=5faebab2903dc91949edc31f0a4b118d86090a30;hpb=ca79993bba12e8cb48c4327e92b9c296c10a9866 diff --git a/src/dmm/fs9922.c b/src/dmm/fs9922.c index ae2b4850..5325e6dd 100644 --- a/src/dmm/fs9922.c +++ b/src/dmm/fs9922.c @@ -223,7 +223,7 @@ static void parse_flags(const uint8_t *buf, struct fs9922_info *info) /* Byte 13: Always '\n' (newline, 0x0a, 10) */ } -static void handle_flags(struct sr_datafeed_analog *analog, float *floatval, +static void handle_flags(struct sr_datafeed_analog_old *analog, float *floatval, const struct fs9922_info *info) { /* Factors */ @@ -344,7 +344,7 @@ SR_PRIV gboolean sr_fs9922_packet_valid(const uint8_t *buf) * @param buf Buffer containing the protocol packet. Must not be NULL. * @param floatval Pointer to a float variable. That variable will contain the * result value upon parsing success. Must not be NULL. - * @param analog Pointer to a struct sr_datafeed_analog. The struct will be + * @param analog Pointer to a struct sr_datafeed_analog_old. The struct will be * filled with data according to the protocol packet. * Must not be NULL. * @param info Pointer to a struct fs9922_info. The struct will be filled @@ -354,7 +354,7 @@ SR_PRIV gboolean sr_fs9922_packet_valid(const uint8_t *buf) * 'analog' variable contents are undefined and should not be used. */ SR_PRIV int sr_fs9922_parse(const uint8_t *buf, float *floatval, - struct sr_datafeed_analog *analog, void *info) + struct sr_datafeed_analog_old *analog, void *info) { int ret; struct fs9922_info *info_local; @@ -372,7 +372,7 @@ SR_PRIV int sr_fs9922_parse(const uint8_t *buf, float *floatval, return SR_OK; } -SR_PRIV void sr_fs9922_z1_diode(struct sr_datafeed_analog *analog, void *info) +SR_PRIV void sr_fs9922_z1_diode(struct sr_datafeed_analog_old *analog, void *info) { struct fs9922_info *info_local;