]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/victor-dmm/protocol.c
Build: Include <config.h> first in all source files
[libsigrok.git] / src / hardware / victor-dmm / protocol.c
index 1d2910fbfb4ddff77c8772ea850077a3b47745d6..d8d2b51d8a6e24fdd1df1bc60b3fa1ab9c581a0f 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <glib.h>
 #include <string.h>
 #include <math.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
@@ -168,7 +169,6 @@ static void decode_buf(struct sr_dev_inst *sdi, unsigned char *data)
                fvalue = -fvalue;
 
        sr_analog_init(&analog, &encoding, &meaning, &spec, 4);
-       spec.spec_digits = 3;
 
        /* Measurement mode */
        meaning.channels = sdi->channels;