]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/api.c
s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
[libsigrok.git] / hardware / zeroplus-logic-cube / api.c
index f9578a8baceae2417f85e695215c75f312ee16aa..273fb53a18c3a40c3a320ab94ca3c6e298350ae8 100644 (file)
@@ -290,8 +290,6 @@ static GSList *hw_scan(GSList *options)
 
        devices = NULL;
 
-       clear_instances();
-
        /* Find all ZEROPLUS analyzers and add them to device list. */
        devcnt = 0;
        libusb_get_device_list(drvc->sr_ctx->libusb_ctx, &devlist); /* TODO: Errors. */
@@ -630,7 +628,7 @@ static int hw_dev_acquisition_start(const struct sr_dev_inst *sdi,
                analyzer_get_trigger_address(usb->devhdl));
 
        /* Send header packet to the session bus. */
-       std_session_send_df_header(cb_data, DRIVER_LOG_DOMAIN);
+       std_session_send_df_header(cb_data, LOG_PREFIX);
 
        if (!(buf = g_try_malloc(PACKET_SIZE))) {
                sr_err("Packet buffer malloc failed.");