From a6162272fa5ea89e172e13f11b670626b7e471a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 1 Sep 2002 22:23:49 +0000 Subject: [PATCH] fixed typo git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1143 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- src/locator.c | 7 +++---- src/rig.c | 14 ++++++-------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/locator.c b/src/locator.c index 16617c358..a82fbb6a2 100644 --- a/src/locator.c +++ b/src/locator.c @@ -11,7 +11,7 @@ * Hamlib Interface - locator and bearing conversion calls * Copyright (c) 2001-2002 by Stephane Fillod * - * $Id: locator.c,v 1.3 2002-08-22 23:42:20 fillods Exp $ + * $Id: locator.c,v 1.4 2002-09-01 22:23:49 fillods Exp $ * * Code to determine bearing and range was taken from the Great Circle, * by S. R. Sampson, N5OWK. @@ -61,7 +61,7 @@ * \brief Convert DMS angle to decimal representation * \param degrees Degrees * \param minutes Minutes - * \param degrees Seconds + * \param seconds Seconds * * Convert degree/minute/second angle to a decimal representation. * Degrees >360, minutes > 60, and seconds > 60 are allowed, but @@ -84,7 +84,7 @@ double dms2dec(int degrees, int minutes, int seconds) * \param dec Decimal angle * \param degrees The location where to store the degrees * \param minutes The location where to store the minutes - * \param degrees The location where to store the seconds + * \param seconds The location where to store the seconds * * Convert decimal angle into its degree/minute/second representation. * Upon return dec2dms guarantees -180<=degrees<180, @@ -187,7 +187,6 @@ int locator2longlat(double *longitude, double *latitude, const char *locator) void longlat2locator(double longitude, double latitude, char *locator) { double tmp; - int deg, min, sec; tmp = fmod(longitude, 360) + 180.; diff --git a/src/rig.c b/src/rig.c index 28327635b..d5cc25d7d 100644 --- a/src/rig.c +++ b/src/rig.c @@ -13,7 +13,7 @@ * Hamlib Interface - main file * Copyright (c) 2000-2002 by Stephane Fillod and Frank Singleton * - * $Id: rig.c,v 1.61 2002-07-10 21:30:47 fillods Exp $ + * $Id: rig.c,v 1.62 2002-09-01 22:23:49 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -3954,7 +3954,7 @@ rig_get_range(const freq_range_t range_list[], freq_t freq, rmode_t mode) * \brief set the callback for freq events * \param rig The rig handle * \param cb The callback to install - * \param trn A Pointer to some private data to pass later on to the callback + * \param arg A Pointer to some private data to pass later on to the callback * * Install a callback for freq events, to be called when in transceive mode. * @@ -3980,7 +3980,7 @@ int rig_set_freq_callback(RIG *rig, freq_cb_t cb, rig_ptr_t arg) * \brief set the callback for mode events * \param rig The rig handle * \param cb The callback to install - * \param trn A Pointer to some private data to pass later on to the callback + * \param arg A Pointer to some private data to pass later on to the callback * * Install a callback for mode events, to be called when in transceive mode. * @@ -4006,7 +4006,7 @@ int rig_set_mode_callback(RIG *rig, mode_cb_t cb, rig_ptr_t arg) * \brief set the callback for vfo events * \param rig The rig handle * \param cb The callback to install - * \param trn A Pointer to some private data to pass later on to the callback + * \param arg A Pointer to some private data to pass later on to the callback * * Install a callback for vfo events, to be called when in transceive mode. * @@ -4032,7 +4032,7 @@ int rig_set_vfo_callback(RIG *rig, vfo_cb_t cb, rig_ptr_t arg) * \brief set the callback for ptt events * \param rig The rig handle * \param cb The callback to install - * \param trn A Pointer to some private data to pass later on to the callback + * \param arg A Pointer to some private data to pass later on to the callback * * Install a callback for ptt events, to be called when in transceive mode. * @@ -4058,7 +4058,7 @@ int rig_set_ptt_callback(RIG *rig, ptt_cb_t cb, rig_ptr_t arg) * \brief set the callback for dcd events * \param rig The rig handle * \param cb The callback to install - * \param trn A Pointer to some private data to pass later on to the callback + * \param arg A Pointer to some private data to pass later on to the callback * * Install a callback for dcd events, to be called when in transceive mode. * @@ -4083,7 +4083,6 @@ int rig_set_dcd_callback(RIG *rig, dcd_cb_t cb, rig_ptr_t arg) /** * \brief control the transceive mode * \param rig The rig handle - * \param vfo The target VFO * \param trn The transceive status to set to * * Enable/disable the transceive handling of a rig and kick off async mode. @@ -4135,7 +4134,6 @@ int rig_set_trn(RIG *rig, int trn) /** * \brief get the current transceive mode * \param rig The rig handle - * \param vfo The target VFO * \param trn The location where to store the current transceive mode * * Retrieves the current status of the transceive mode, i.e. if radio