]> sigrok.org Git - libsigrok.git/commitdiff
uni-t-ut32x: Fix copy-paste error.
authorUwe Hermann <redacted>
Wed, 20 Apr 2016 20:12:52 +0000 (22:12 +0200)
committerUwe Hermann <redacted>
Fri, 29 Apr 2016 17:26:17 +0000 (19:26 +0200)
src/hardware/uni-t-ut32x/protocol.c

index 34fa14d4c2f726b339da203a9bd302bb36e601e9..01fa6f72d37c03e75c54a63f9c8c51648341414a 100644 (file)
@@ -217,7 +217,7 @@ SR_PRIV int uni_t_ut32x_handle_events(int fd, int revents, void *cb_data)
 
        if (sdi->status == SR_ST_STOPPING) {
                usb_source_remove(sdi->session, drvc->sr_ctx);
-               std_session_send_df_header(sdi, LOG_PREFIX);
+               std_session_send_df_end(sdi, LOG_PREFIX);
 
                /* Tell the device to stop sending USB packets. */
                usb = sdi->conn;