Show difference between UIF and Olimex when opening serial.

This commit is contained in:
Daniel Beer 2010-08-31 09:31:50 +12:00
parent 7e0d229fc2
commit 0a3d1c9e11
1 changed files with 2 additions and 1 deletions

3
uif.c
View File

@ -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) {