[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. 5cd82c40262f6ddccd47f
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2021-01-18 04:25:48
|
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 5cd82c40262f6ddccd47ff74c739d770646dc509 (commit) from ce96f424835a5140c000639a17dec5bb45c4ee07 (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 5cd82c40262f6ddccd47ff74c739d770646dc509 Author: Michael Black W9MDB <mdb...@ya...> Date: Sun Jan 17 22:24:39 2021 -0600 Change print format on a few freq items diff --git a/src/rig.c b/src/rig.c index 908d4f4a..df405654 100755 --- a/src/rig.c +++ b/src/rig.c @@ -1402,7 +1402,7 @@ static int get_cache_freq(RIG *rig, vfo_t vfo, freq_t *freq, int *cache_ms) RETURNFUNC(-RIG_EINVAL); } - rig_debug(RIG_DEBUG_TRACE, "%s: vfo=%s, freq=%g\n", __func__, rig_strvfo(vfo), + rig_debug(RIG_DEBUG_TRACE, "%s: vfo=%s, freq=%.0f\n", __func__, rig_strvfo(vfo), (double)*freq); RETURNFUNC(RIG_OK); } @@ -1427,7 +1427,7 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq) int retcode; freq_t freq_new = freq; - rig_debug(RIG_DEBUG_VERBOSE, "%s called vfo=%s, freq=%g\n", __func__, + rig_debug(RIG_DEBUG_VERBOSE, "%s called vfo=%s, freq=%.0f\n", __func__, rig_strvfo(vfo), freq); if (CHECK_RIG_ARG(rig)) @@ -1535,7 +1535,7 @@ int HAMLIB_API rig_set_freq(RIG *rig, vfo_t vfo, freq_t freq) if (freq_new != freq) { - rig_debug(RIG_DEBUG_TRACE, "%s: Asked freq=%g, got freq=%g\n", __func__, + rig_debug(RIG_DEBUG_TRACE, "%s: Asked freq=%.0fg, got freq=%.0fg\n", __func__, freq, freq_new); } ----------------------------------------------------------------------- Summary of changes: src/rig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |