gwinstek-gpd: Print serialcomm config
This commit is contained in:
parent
1c5d5905a4
commit
10fd326dea
|
@ -112,7 +112,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
|
||||||
return NULL;
|
return NULL;
|
||||||
if (!serialcomm)
|
if (!serialcomm)
|
||||||
serialcomm = "115200/8n1";
|
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);
|
serial = sr_serial_dev_inst_new(conn, serialcomm);
|
||||||
if (serial_open(serial, SERIAL_RDWR) != SR_OK)
|
if (serial_open(serial, SERIAL_RDWR) != SR_OK)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in New Issue