[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 3cd921c2d379faaa88eff
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-19 23:27:34
|
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 3cd921c2d379faaa88eff1fef2d1de8bc7920273 (commit) from 1e96b1f4d76afdef3f25928dbecf756d1663670c (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 3cd921c2d379faaa88eff1fef2d1de8bc7920273 Author: Michael Black W9MDB <mdb...@ya...> Date: Tue Jan 19 17:23:01 2021 -0600 Make the Yaesu BS command assume it worked as can't repeat it diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 02f06907..1ab55c88 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -9657,6 +9657,10 @@ int newcat_set_cmd_validate(RIG *rig) if (bytes > 0) { + // for the BS command we can only run it once + // so we'll assume it worked + // maybe Yaeus will make this command more intelligent + if (strstr(priv->cmd_str,"BS")) return RIG_OK; // if the first two chars match we are validated if (strncmp(priv->cmd_str, "VS", 2) == 0 && strncmp(priv->cmd_str, priv->ret_data, 2) == 0) { RETURNFUNC(RIG_OK); } ----------------------------------------------------------------------- Summary of changes: rigs/yaesu/newcat.c | 4 ++++ 1 file changed, 4 insertions(+) hooks/post-receive -- Hamlib -- Ham radio control libraries |