]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/zeroplus-logic-cube/api.c
zeroplus-logic-cube: Add support for AKIP-9101.
[libsigrok.git] / src / hardware / zeroplus-logic-cube / api.c
index 19cf862e19da675a4d092099b0cf74a42ff356d1..3eeb9811a7cdc6f136f7600525ed7142dc9a1b5f 100644 (file)
@@ -49,6 +49,7 @@ static const struct zp_model zeroplus_models[] = {
        {0x0c12, 0x700d, "LAP-C(322000)", 32, 2048, 200},
        {0x0c12, 0x700e, "LAP-C(16032)",  16, 32,   100},
        {0x0c12, 0x7016, "LAP-C(162000)", 16, 2048, 200},
+       {0x0c12, 0x7100, "AKIP-9101", 16, 256, 200},
        { 0, 0, 0, 0, 0, 0 }
 };
 
@@ -221,7 +222,7 @@ static GSList *scan(GSList *options)
                sr_info("Found ZEROPLUS %s.", prof->model_name);
 
                /* Register the device with libsigrok. */
-               if (!(sdi = sr_dev_inst_new(0, SR_ST_INACTIVE,
+               if (!(sdi = sr_dev_inst_new(SR_ST_INACTIVE,
                                VENDOR_NAME, prof->model_name, NULL))) {
                        sr_err("%s: sr_dev_inst_new failed", __func__);
                        return NULL;