X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fapi.c;h=5bce3af0d3f092bb35b861c06c5b1f60b9d5d6c4;hb=b02bb45f4cf6378520e5a5b82ff39013cfa270b6;hp=ad3d0a379ea89a7e233d954181e645d8ed117151;hpb=c2af709b01eed17dd4f50450ec52519f2821a792;p=libsigrok.git diff --git a/src/hardware/scpi-pps/api.c b/src/hardware/scpi-pps/api.c index ad3d0a37..5bce3af0 100644 --- a/src/hardware/scpi-pps/api.c +++ b/src/hardware/scpi-pps/api.c @@ -652,7 +652,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi) if ((ret = sr_scpi_source_add(sdi->session, scpi, G_IO_IN, 10, scpi_pps_receive_data, (void *)sdi)) != SR_OK) return ret; - std_session_send_df_header(sdi, LOG_PREFIX); + std_session_send_df_header(sdi); /* Prime the pipe with the first channel's fetch. */ ch = sr_next_enabled_channel(sdi, NULL); @@ -692,7 +692,7 @@ static int dev_acquisition_stop(struct sr_dev_inst *sdi) sr_scpi_get_float(scpi, NULL, &f); sr_scpi_source_remove(sdi->session, scpi); - std_session_send_df_end(sdi, LOG_PREFIX); + std_session_send_df_end(sdi); return SR_OK; }