From 4e83c351e77f243b7b6b78c609ac86130f734b43 Mon Sep 17 00:00:00 2001 From: Michael Black W9MDB Date: Mon, 10 Aug 2020 22:34:12 -0500 Subject: [PATCH] Add some more debug to serial.c --- src/serial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/serial.c b/src/serial.c index 4e5095121..9d66b200a 100644 --- a/src/serial.c +++ b/src/serial.c @@ -345,9 +345,11 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp) } /* TODO */ - rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d\n", __func__, speed); + rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d,%d\n", __func__, + rp->parm.serial.rate, speed); cfsetispeed(&options, speed); - rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d\n", __func__, speed); + rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d,%d\n", __func__, + rp->parm.serial.rate, speed); cfsetospeed(&options, speed); /*