]> sigrok.org Git - libsigrok.git/commitdiff
gwinstek-gpd: Print serialcomm config
authorRichard Allen <redacted>
Sat, 16 Jan 2021 18:35:35 +0000 (12:35 -0600)
committerSoeren Apel <redacted>
Sun, 21 Feb 2021 20:41:18 +0000 (21:41 +0100)
src/hardware/gwinstek-gpd/api.c

index aff3a7a2faf4d2885c05db94b513d64448a4ecf5..5bf0ce52622e346e9c740fe60b178423165b0d16 100644 (file)
@@ -112,7 +112,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
                return NULL;
        if (!serialcomm)
                serialcomm = "115200/8n1";
-       sr_info("Probing serial port %s.", conn);
+       sr_info("Probing serial port %s @ %s", conn, serialcomm);
        serial = sr_serial_dev_inst_new(conn, serialcomm);
        if (serial_open(serial, SERIAL_RDWR) != SR_OK)
                return NULL;