X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fnorma-dmm%2Fapi.c;h=84ca43ca8351c4761309ffc61a949b671ec9c8de;hp=d155bc36d657b3b24f5f0817ae81caf5caa9e8b2;hb=cb828f1b3e00ccd0ad23d7cb98dca4d0d4749b07;hpb=3b13990f7d193e8276eb7da27ab9a1fb8f01ee95 diff --git a/src/hardware/norma-dmm/api.c b/src/hardware/norma-dmm/api.c index d155bc36..84ca43ca 100644 --- a/src/hardware/norma-dmm/api.c +++ b/src/hardware/norma-dmm/api.c @@ -99,8 +99,6 @@ static GSList *scan(struct sr_dev_driver *drv, GSList *options) if (serial_open(serial, SERIAL_RDWR) != SR_OK) return NULL; - serial_flush(serial); - buf = g_malloc(BUF_MAX); snprintf(req, sizeof(req), "%s\r\n",