gwinstek-gpd: Print serialcomm config

This commit is contained in:
Richard Allen 2021-01-16 12:35:35 -06:00 committed by Soeren Apel
parent 1c5d5905a4
commit 10fd326dea
1 changed files with 1 additions and 1 deletions

View File

@ -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;