From 0a3d1c9e113d5ce3b23921a7a62adc150740315d Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Tue, 31 Aug 2010 09:31:50 +1200 Subject: [PATCH] Show difference between UIF and Olimex when opening serial. --- uif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uif.c b/uif.c index e251778..5b8f052 100644 --- a/uif.c +++ b/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) {