[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 14251b237dde212c7e9bb
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Michael B. <mdb...@us...> - 2021-01-20 13:16:24
|
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 14251b237dde212c7e9bb2addd24b9e3672c4c47 (commit)
from 3cd921c2d379faaa88eff1fef2d1de8bc7920273 (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 14251b237dde212c7e9bb2addd24b9e3672c4c47
Author: Michael Black W9MDB <mdb...@ya...>
Date: Wed Jan 20 07:15:53 2021 -0600
Fix ft1000d.c retry
diff --git a/rigs/yaesu/ft1000d.c b/rigs/yaesu/ft1000d.c
index f30e0356..b2a3bd3e 100644
--- a/rigs/yaesu/ft1000d.c
+++ b/rigs/yaesu/ft1000d.c
@@ -158,7 +158,7 @@ const struct rig_caps ft1000d_caps =
RIG_MODEL(RIG_MODEL_FT1000D),
.model_name = "FT-1000D",
.mfg_name = "Yaesu",
- .version = "20201009.0",
+ .version = "20210120.0",
.copyright = "LGPL",
.status = RIG_STATUS_STABLE,
.rig_type = RIG_TYPE_TRANSCEIVER,
@@ -3274,7 +3274,7 @@ int ft1000d_get_update_data(RIG *rig, unsigned char ci, unsigned short ch)
n = read_block(&rig_s->rigport, p, rl);
}
- while (n < 0 && retry >= 0);
+ while (n < 0 && retry-- >= 0);
if (n < 0)
{
-----------------------------------------------------------------------
Summary of changes:
rigs/yaesu/ft1000d.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
Hamlib -- Ham radio control libraries
|