From: Russ Dill Date: Tue, 3 Dec 2013 05:25:10 +0000 (-0800) Subject: zeroplus: Add usb IDs for 32 channel models, but only use 16 channels X-Git-Tag: libsigrok-0.3.0~478 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=60cc6f85795315d3257a55cc257bdc3e511b6f45;p=libsigrok.git zeroplus: Add usb IDs for 32 channel models, but only use 16 channels The code needs some work to support 32 channels. Until then, support the 32 channel models, but only allow the use of 16 channels. --- diff --git a/hardware/zeroplus-logic-cube/api.c b/hardware/zeroplus-logic-cube/api.c index 3fb156ef..d85a8ca0 100644 --- a/hardware/zeroplus-logic-cube/api.c +++ b/hardware/zeroplus-logic-cube/api.c @@ -45,11 +45,10 @@ static const struct zp_model zeroplus_models[] = { {0x0c12, 0x7002, "LAP-16128U", 16, 128, 200}, {0x0c12, 0x7009, "LAP-C(16064)", 16, 64, 100}, {0x0c12, 0x700a, "LAP-C(16128)", 16, 128, 200}, - /* TODO: We don't know anything about these. - {0x0c12, 0x700b, "LAP-C(32128)", 32, 128, 200}, - {0x0c12, 0x700c, "LAP-C(321000)", 32, 1024, 200}, - {0x0c12, 0x700d, "LAP-C(322000)", 32, 2048, 200}, - */ + /* We don't yet support 32 probes */ + {0x0c12, 0x700b, "LAP-C(32128)", 16, 128, 200}, + {0x0c12, 0x700c, "LAP-C(321000)", 16, 1024, 200}, + {0x0c12, 0x700d, "LAP-C(322000)", 16, 2048, 200}, {0x0c12, 0x700e, "LAP-C(16032)", 16, 32, 100}, {0x0c12, 0x7016, "LAP-C(162000)", 16, 2048, 200}, { 0, 0, 0, 0, 0, 0 }