[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 59df7ccc23ce36b735fd1
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-15 17:51:07
|
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 59df7ccc23ce36b735fd118cf61b87a296028e20 (commit) from a2c43875431414beac4cfd99e569ee5d89df0c58 (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 59df7ccc23ce36b735fd118cf61b87a296028e20 Author: Michael Black W9MDB <mdb...@ya...> Date: Fri Jan 15 11:44:50 2021 -0600 Fix newcat_set_cmd_validate TX command https://github.com/Hamlib/Hamlib/issues/505 diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index a357fbe1..d1f95695 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -9439,6 +9439,11 @@ int newcat_set_cmd_validate(RIG *rig) // FT command does not echo what's sent so we just check the basic command return RIG_OK; } + if (strncmp(priv->cmd_str,"TX",2)==0 && strncmp(priv->ret_data,"TX",2)==0) + { + // TX command does not echo what's sent so we just check the basic command + return RIG_OK; + } if (bytes > 0) { // if they match we are validated ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 5 +++++ 1 file changed, 5 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |