From 8feb174711bcc6756e46547837116499b80e2057 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Tue, 29 Apr 2025 19:35:23 +0200 Subject: [PATCH] Fix typos --- include/hamlib/rig.h | 8 ++++---- src/debug.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 253f07231..b9806b82b 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -451,7 +451,7 @@ typedef enum { /** - * \brief Frequency type, + * \brief Frequency type * * Frequency type unit in Hz, able to hold SHF frequencies. */ @@ -2701,7 +2701,7 @@ typedef unsigned int rig_comm_status_t; * This struct contains live data, as well as a copy of capability fields * that may be updated (ie. customized) * - * It is NOT fine to move fields around as it can break share library offset + * It is NOT fine to move fields around as it can break shared library offset * As of 2024-03-03 freq_event_elapsed is the last known item being reference externally * So any additions or changes to this structure must be at the end of the structure */ @@ -2739,7 +2739,7 @@ struct rig_state { ann_t announces; /*!< Announces bit field list */ int preamp[HAMLIB_MAXDBLSTSIZ]; /*!< Preamp list in dB, 0 terminated */ - int attenuator[HAMLIB_MAXDBLSTSIZ]; /*!< Preamp list in dB, 0 terminated */ + int attenuator[HAMLIB_MAXDBLSTSIZ]; /*!< Attenuator list in dB, 0 terminated */ setting_t has_get_func; /*!< List of get functions */ setting_t has_set_func; /*!< List of set functions */ @@ -2939,7 +2939,7 @@ struct rig_state_deprecated { ann_t announces; /*!< Announces bit field list */ int preamp[HAMLIB_MAXDBLSTSIZ]; /*!< Preamp list in dB, 0 terminated */ - int attenuator[HAMLIB_MAXDBLSTSIZ]; /*!< Preamp list in dB, 0 terminated */ + int attenuator[HAMLIB_MAXDBLSTSIZ]; /*!< Attenuator list in dB, 0 terminated */ setting_t has_get_func; /*!< List of get functions */ setting_t has_set_func; /*!< List of set functions */ diff --git a/src/debug.c b/src/debug.c index 0e78b7b22..df8951ec0 100644 --- a/src/debug.c +++ b/src/debug.c @@ -325,7 +325,7 @@ vprintf_cb_t HAMLIB_API rig_set_debug_callback(vprintf_cb_t cb, rig_ptr_t arg) /** - * \brief Change the output stream from `stderr` a different stream. + * \brief Change the output stream from `stderr` to a different stream. * * \param stream The stream to direct debugging output. *