[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. b1b6a0a7711e48a1c3b2a
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-17 17:59:49
|
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 b1b6a0a7711e48a1c3b2a3e7f85a3e029929d4bc (commit) from 6e25cdd6b9b6e09b8649231757bc8ad129725192 (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 b1b6a0a7711e48a1c3b2a3e7f85a3e029929d4bc Author: Michael Black W9MDB <mdb...@ya...> Date: Sun Jan 17 11:59:26 2021 -0600 Fix range_list check in src.c diff --git a/src/rig.c b/src/rig.c index a9fbd91e..908d4f4a 100755 --- a/src/rig.c +++ b/src/rig.c @@ -426,7 +426,7 @@ RIG *HAMLIB_API rig_init(rig_model_t rig_model) sizeof(struct freq_range_list)*FRQRANGESIZ); // if we don't have list1 we'll try list2 - if (rs->rx_range_list == NULL) + if (rs->rx_range_list[0].startf == 0) { rig_debug(RIG_DEBUG_TRACE, "%s: rx_range_list1 is empty, using rx_range_list2\n", __func__); ----------------------------------------------------------------------- Summary of changes: src/rig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |