[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. v4.0rc1-70-g65fbc1cd
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-08-11 03:26:44
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via 65fbc1cd4bcc68f13963ba8d5cb2f04c9573fd90 (commit) from 59d22e07485b2bf3e155cba53bf85a877b95e88e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 65fbc1cd4bcc68f13963ba8d5cb2f04c9573fd90 Author: Michael Black W9MDB <mdb...@ya...> Date: Mon Aug 10 22:26:25 2020 -0500 Add some debug to serial.c diff --git a/src/serial.c b/src/serial.c index 7824d563..4e509512 100644 --- a/src/serial.c +++ b/src/serial.c @@ -345,9 +345,9 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp) } /* TODO */ - rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed\n", __func__); + rig_debug(RIG_DEBUG_TRACE, "%s: cfsetispeed=%d\n", __func__, speed); cfsetispeed(&options, speed); - rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed\n", __func__); + rig_debug(RIG_DEBUG_TRACE, "%s: cfsetospeed=%d\n", __func__, speed); cfsetospeed(&options, speed); /* @@ -364,6 +364,9 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp) * Set data to requested values. * */ + rig_debug(RIG_DEBUG_TRACE, "%s: data_bits=%d\n", __func__, + rp->parm.serial.data_bits); + switch (rp->parm.serial.data_bits) { case 7: @@ -416,6 +419,8 @@ int HAMLIB_API serial_setup(hamlib_port_t *rp) * Set parity to requested values. * */ + rig_debug(RIG_DEBUG_TRACE, "%s: parity=%d\n", __func__, rp->parm.serial.parity); + switch (rp->parm.serial.parity) { case RIG_PARITY_NONE: ----------------------------------------------------------------------- Summary of changes: src/serial.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |