Show difference between UIF and Olimex when opening serial.
This commit is contained in:
parent
7e0d229fc2
commit
0a3d1c9e11
3
uif.c
3
uif.c
|
@ -94,7 +94,8 @@ transport_t uif_open(const char *device, int is_olimex)
|
|||
tr->base.recv = serial_recv;
|
||||
tr->base.destroy = serial_destroy;
|
||||
|
||||
printc("Trying to open UIF on %s...\n", device);
|
||||
printc("Trying to open %s on %s...\n",
|
||||
is_olimex ? "Olimex" : "UIF", device);
|
||||
|
||||
tr->serial_fd = open_serial(device, is_olimex ? B500000 : B460800);
|
||||
if (tr->serial_fd < 0) {
|
||||
|
|
Loading…
Reference in New Issue