]> sigrok.org Git - libsigrok.git/blobdiff - src/dmm/m2110.c
dmm: vc870: render POWER_FACTOR as such and not as frequency
[libsigrok.git] / src / dmm / m2110.c
index 8f094a5c8144196e243214118d24f60f0ccad50f..ea53fae5e738aee2d7a1dc32a0a546d2e08eeee0 100644 (file)
@@ -25,6 +25,7 @@
  * Most probably the simplest multimeter protocol ever ;-) .
  */
 
+#include <config.h>
 #include <string.h>
 #include <math.h>
 #include <glib.h>
@@ -50,7 +51,7 @@ 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)
+                               struct sr_datafeed_analog_old *analog, void *info)
 {
        float val;