]> sigrok.org Git - libsigrok.git/commitdiff
DT4000ZC/TP4000ZC: Force DTR=1 on the serial port.
authorUwe Hermann <redacted>
Tue, 19 Nov 2013 23:42:08 +0000 (00:42 +0100)
committerUwe Hermann <redacted>
Tue, 19 Nov 2013 23:42:08 +0000 (00:42 +0100)
This fixes the driver e.g. on NetBSD.

hardware/serial-dmm/api.c

index b394bfa761103dc7b888fc23acc0ce88d4c45993..ef57f31822e3eaf97b090b332bdc5583d074ad5b 100644 (file)
@@ -68,14 +68,14 @@ SR_PRIV struct sr_dev_driver iso_tech_idm103n_driver_info;
 
 SR_PRIV struct dmm_info dmms[] = {
        {
-               "Digitek", "DT4000ZC", "2400/8n1", 2400,
+               "Digitek", "DT4000ZC", "2400/8n1/dtr=1", 2400,
                FS9721_PACKET_SIZE, NULL,
                sr_fs9721_packet_valid, sr_fs9721_parse,
                sr_fs9721_10_temp_c,
                &digitek_dt4000zc_driver_info, receive_data_DIGITEK_DT4000ZC,
        },
        {
-               "TekPower", "TP4000ZC", "2400/8n1", 2400,
+               "TekPower", "TP4000ZC", "2400/8n1/dtr=1", 2400,
                FS9721_PACKET_SIZE, NULL,
                sr_fs9721_packet_valid, sr_fs9721_parse,
                sr_fs9721_10_temp_c,