]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/bm25x.c
dmm: vc870: render POWER_FACTOR as such and not as frequency
[libsigrok.git] / src / dmm / bm25x.c
index 1e231a905dcd9a046971ee71e95401209bbe1107..e7aa45a1211be1996c3fda5ba68f332b432da675 100644 (file)
@@ -23,6 +23,7 @@
  * Brymen BM25x serial protocol parser.
  */
 
+#include <config.h>
 #include <math.h>
 #include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
@@ -146,7 +147,7 @@ special:
 }
 
 SR_PRIV int sr_brymen_bm25x_parse(const uint8_t *buf, float *floatval,
-                               struct sr_datafeed_analog *analog, void *info)
+                               struct sr_datafeed_analog_old *analog, void *info)
 {
        float val;