X-Git-Url: http://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=src%2Fhardware%2Fhantek-6xxx%2Fapi.c;h=27eacf4a2802c8267a9d7b8738a4fc9c67409232;hp=5c2a478ad904c5870e715181f4840ab2a817fd89;hb=bee2b0168c087676c1b365861d8c2d4714afa9b9;hpb=7d786a962d11c1ed7bca29da3979aaf8a52ef618 diff --git a/src/hardware/hantek-6xxx/api.c b/src/hardware/hantek-6xxx/api.c index 5c2a478a..27eacf4a 100644 --- a/src/hardware/hantek-6xxx/api.c +++ b/src/hardware/hantek-6xxx/api.c @@ -739,7 +739,7 @@ static int handle_event(int fd, int revents, void *cb_data) */ usb_source_remove(sdi->session, drvc->sr_ctx); - std_session_send_df_end(sdi, LOG_PREFIX); + std_session_send_df_end(sdi); devc->dev_state = IDLE; @@ -768,7 +768,7 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi) if (hantek_6xxx_init(sdi) != SR_OK) return SR_ERR; - std_session_send_df_header(sdi, LOG_PREFIX); + std_session_send_df_header(sdi); devc->samp_received = 0; devc->dev_state = FLUSH;