From: Michael Klengel Date: Wed, 13 Feb 2019 09:50:19 +0000 (+0100) Subject: manson-hcs-3xxx: Add HCS-3300 / DPPS-32-15 / HCS-3302 support. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=88e6a8da9c439f716ffc8efddb9537083f493185;p=libsigrok.git manson-hcs-3xxx: Add HCS-3300 / DPPS-32-15 / HCS-3302 support. Manson HCS-3300 (1-16 V, 30 A): $ sigrok-cli --show -d manson-hcs-3xxx:conn=/dev/cu.SLAB_USBtoUART5 [...] sr: manson-hcs-3xxx: Unknown model ID 'HCS-3300' detected, aborting. Voltcraft DPPS-32-15 (1-32 V, 15 A), identical to Manson HCS-3302: $ sigrok-cli --show -d manson-hcs-3xxx:conn=/dev/cu.SLAB_USBtoUART [...] sr: manson-hcs-3xxx: Unknown model ID 'HCS-3302' detected, aborting. --- diff --git a/src/hardware/manson-hcs-3xxx/api.c b/src/hardware/manson-hcs-3xxx/api.c index b2a7ab90..1f871231 100644 --- a/src/hardware/manson-hcs-3xxx/api.c +++ b/src/hardware/manson-hcs-3xxx/api.c @@ -51,7 +51,9 @@ static const struct hcs_model models[] = { { MANSON_HCS_3202, "HCS-3202", "3202", { 1, 36, 0.1 }, { 0, 10, 0.10 } }, { MANSON_HCS_3204, "HCS-3204", "3204", { 1, 60, 0.1 }, { 0, 5, 0.01 } }, { MANSON_HCS_3300, "HCS-3300-USB", "3300", { 1, 16, 0.1 }, { 0, 30, 0.10 } }, + { MANSON_HCS_3300, "HCS-3300-USB", "HCS-3300", { 1, 16, 0.1 }, { 0, 30, 0.10 } }, { MANSON_HCS_3302, "HCS-3302-USB", "3302", { 1, 32, 0.1 }, { 0, 15, 0.10 } }, + { MANSON_HCS_3302, "HCS-3302-USB", "HCS-3302", { 1, 32, 0.1 }, { 0, 15, 0.10 } }, { MANSON_HCS_3304, "HCS-3304-USB", "3304", { 1, 60, 0.1 }, { 0, 8, 0.10 } }, { MANSON_HCS_3304, "HCS-3304-USB", "HCS-3304", { 1, 60, 0.1 }, { 0, 8, 0.10 } }, { MANSON_HCS_3400, "HCS-3400-USB", "3400", { 1, 16, 0.1 }, { 0, 40, 0.10 } },