From 02319983dde708b3fab2f970be3e0ae302f7b854 Mon Sep 17 00:00:00 2001 From: "Berndt Josef Wulf, VK5ABN" Date: Thu, 12 Feb 2004 21:39:48 +0000 Subject: [PATCH] Changed debug message format for freq_t from long long to double git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1685 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- yaesu/ft990.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/yaesu/ft990.c b/yaesu/ft990.c index f4a3090ce..888e4f8e3 100644 --- a/yaesu/ft990.c +++ b/yaesu/ft990.c @@ -7,7 +7,7 @@ * via serial interface to an FT-990 using the "CAT" interface * * - * $Id: ft990.c,v 1.8 2004-01-15 22:52:13 fillods Exp $ + * $Id: ft990.c,v 1.9 2004-02-12 21:39:48 bwulf Exp $ * * * This library is free software; you can redistribute it and/or @@ -405,7 +405,7 @@ static int ft990_set_freq(RIG *rig, vfo_t vfo, freq_t freq) { return -RIG_EINVAL; rig_debug(RIG_DEBUG_TRACE, "%s: passed vfo = 0x%02x\n", __func__, vfo); - rig_debug(RIG_DEBUG_TRACE, "%s: passed freq = %lli Hz\n", __func__, freq); + rig_debug(RIG_DEBUG_TRACE, "%s: passed freq = %f Hz\n", __func__, freq); // Frequency range sanity check if (freq < 100000 || freq > 30000000) @@ -509,7 +509,7 @@ static int ft990_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) { rig_debug(RIG_DEBUG_TRACE, "%s: p0=0x%02x p1=0x%02x p2=0x%02x\n", __func__, p[0], p[1], p[2]); rig_debug(RIG_DEBUG_TRACE, - "%s: freq = %lli Hz for vfo 0x%02x\n", __func__, f, vfo); + "%s: freq = %f Hz for vfo 0x%02x\n", __func__, f, vfo); // Frequency sanity check if (f<100000 || f>30000000) @@ -2612,7 +2612,7 @@ static int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) { return -RIG_EINVAL; rig_debug(RIG_DEBUG_TRACE, "%s: passed ci = 0x%02x\n", __func__, ci); - rig_debug(RIG_DEBUG_TRACE, "%s: passed freq = %lli Hz\n", __func__, freq); + rig_debug(RIG_DEBUG_TRACE, "%s: passed freq = %f Hz\n", __func__, freq); priv = (struct ft990_priv_data *)rig->state.priv; @@ -2649,7 +2649,7 @@ static int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) { * * Arguments: *rig Valid RIG instance * ci Command index of the pcs struct - * freq freq_t frequency value + * rit shortfreq_t frequency value * * Returns: RIG_OK if all called functions are successful, * otherwise returns error from called functiion