From caf7346fc023313afb2c6c516ba9bf08bda1dcd8 Mon Sep 17 00:00:00 2001 From: Daniele Forsi IU5HKX Date: Tue, 12 Aug 2025 10:02:03 +0200 Subject: [PATCH] Fix typos --- AUTHORS | 4 ++-- doc/man1/ampctld.1 | 2 +- doc/man1/rigctld.1 | 2 +- doc/man1/rotctld.1 | 2 +- doc/man7/hamlib-utilities.7 | 2 +- include/hamlib/rig.h | 6 +++--- lib/win32termios.h | 2 +- rigs/aor/aor.c | 2 +- rigs/dummy/flrig.README | 2 +- rigs/icom/icom.c | 2 +- rigs/icom/icom.h | 2 +- rigs/kenwood/elecraft.c | 2 +- rigs/yaesu/newcat.c | 2 +- rotators/flir/README.md | 2 +- rotators/ioptron/README_ioptron | 2 +- scripts/build-VB.NET.sh | 2 +- tests/rig_bench.c | 2 +- tests/rigfreqwalk.c | 2 +- tests/rigmem.c | 2 +- tests/rigswr.c | 2 +- tests/rotctl_parse.c | 2 +- tests/testrig.c | 4 ++-- tests/testtrn.c | 2 +- 23 files changed, 27 insertions(+), 27 deletions(-) diff --git a/AUTHORS b/AUTHORS index 36aa525a1..301edb505 100644 --- a/AUTHORS +++ b/AUTHORS @@ -173,10 +173,10 @@ M: C: Pascal Brisset -[yeasu: ft1000d] +[yaesu: ft1000d] M: Serge Pashenkov -[yeasu: ft100] +[yaesu: ft100] M: Alex V Flinsch, KC2IVL [yaesu: ft736] diff --git a/doc/man1/ampctld.1 b/doc/man1/ampctld.1 index b9bb10c9d..5be9b2d1e 100644 --- a/doc/man1/ampctld.1 +++ b/doc/man1/ampctld.1 @@ -60,7 +60,7 @@ commands with the requested values, one per line, when successful, otherwise, it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number indicating the error code. Commands that do not return values respond with the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful, -otherwise is a regative number indicating the error code. Each line is +otherwise is a negative number indicating the error code. Each line is terminated with a newline \(oq\\n\(cq character. This protocol is primarily for use by the .B NET ampctl diff --git a/doc/man1/rigctld.1 b/doc/man1/rigctld.1 index 2a8847ec2..20652967c 100644 --- a/doc/man1/rigctld.1 +++ b/doc/man1/rigctld.1 @@ -67,7 +67,7 @@ commands with the requested values, one per line, when successful, otherwise, it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number indicating the error code. Commands that do not return values respond with the line \(lqRPRT x\(rq, where \(oqx\(cq is \(oq0\(cq when successful, -otherwise is a regative number indicating the error code. Each line is +otherwise is a negative number indicating the error code. Each line is terminated with a newline \(oq\\n\(cq character. This protocol is primarily for use by the .B NET rigctl diff --git a/doc/man1/rotctld.1 b/doc/man1/rotctld.1 index d1cd13ed1..7be6f0504 100644 --- a/doc/man1/rotctld.1 +++ b/doc/man1/rotctld.1 @@ -55,7 +55,7 @@ responds to \(lqget\(rq commands with the requested values, one per line, when successful, otherwise, it responds with one line \(lqRPRT x\(rq, where \(oqx\(cq is a negative number indicating the error code. Commands that do not return values respond with the line \(lqRPRT x\(rq, where \(oqx\(cq is -\(oq0\(cq when successful, otherwise is a regative number indicating the error +\(oq0\(cq when successful, otherwise is a negative number indicating the error code. Each line is terminated with a newline \(oq\\n\(cq character. This protocol is primarily for use by the .B NET rotctl diff --git a/doc/man7/hamlib-utilities.7 b/doc/man7/hamlib-utilities.7 index 866bdd689..5626c95bb 100644 --- a/doc/man7/hamlib-utilities.7 +++ b/doc/man7/hamlib-utilities.7 @@ -10,7 +10,7 @@ . .SH NAME . -hamlib-utilties \- radio and rotator control utilities of Hamlib +hamlib-utilities \- radio and rotator control utilities of Hamlib . . .SH DESCRIPTION diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index e04a28be8..039ef6e9d 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -629,7 +629,7 @@ typedef unsigned int vfo_t; /* * targetable bitfields, for internal use. - * In rig.c lack of a flag will case a VFO change if needed + * In rig.c lack of a flag will cause a VFO change if needed * So setting this flag will mean the backend handles any VFO needs * For many rigs RITXIT, PTT, MEM, and BANK are non-VFO commands so need these flags to avoid unnecessary VFO swapping */ @@ -971,7 +971,7 @@ typedef enum { RIG_ANN_RXMODE = (1 << 1), /*!< Announce receive mode */ RIG_ANN_CW = (1 << 2), /*!< CW */ RIG_ANN_ENG = (1 << 3), /*!< English */ - RIG_ANN_JAP = (1 << 4) /*!< Japan */ + RIG_ANN_JAP = (1 << 4) /*!< Japanese */ } ann_t; @@ -1188,7 +1188,7 @@ enum rig_parm_e { RIG_PARM_AFIF = (1 << 9), /*!< \c AFIF for USB -- 0=AF audio, 1=IF audio -- see IC-7300/9700/705 */ RIG_PARM_BANDSELECT = (1 << 10), /*!< \c BANDSELECT -- e.g. BAND160M, BAND80M, BAND70CM, BAND2CM */ RIG_PARM_KEYERTYPE = (1 << 11), /*!< \c KEYERTYPE -- 0,1,2 or STRAIGHT PADDLE BUG */ - RIG_PARM_AFIF_LAN = (1 << 12), /*!< \c AFIF for LAN -- 0=AF audi , 1=IF audio -- see IC-9700 */ + RIG_PARM_AFIF_LAN = (1 << 12), /*!< \c AFIF for LAN -- 0=AF audio , 1=IF audio -- see IC-9700 */ RIG_PARM_AFIF_WLAN = (1 << 13), /*!< \c AFIF_WLAN -- 0=AF audio, 1=IF audio -- see IC-705 */ RIG_PARM_AFIF_ACC = (1 << 14) /*!< \c AFIF_ACC -- 0=AF audio, 1=IF audio -- see IC-9700 */ }; diff --git a/lib/win32termios.h b/lib/win32termios.h index b93919bd8..b18a59ab4 100644 --- a/lib/win32termios.h +++ b/lib/win32termios.h @@ -19,7 +19,7 @@ | License along with this library; if not, write to the Free Software | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | -| This file was taken from rxtx-2.1-7pre16 and adaptated for Hamlib. +| This file was taken from rxtx-2.1-7pre16 and adapted for Hamlib. --------------------------------------------------------------------------*/ #ifndef _WIN32TERMIOS_H diff --git a/rigs/aor/aor.c b/rigs/aor/aor.c index 4fef2e859..06c75b43b 100644 --- a/rigs/aor/aor.c +++ b/rigs/aor/aor.c @@ -461,7 +461,7 @@ int aor_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width) if (retval != RIG_OK) { return retval; } strncpy(mdbuf2, mdbuf + 4, 3); /* Extract first 'BW' part */ - mdbuf2[3] = '\0'; // in case strnpy produces and un-terminated string + mdbuf2[3] = '\0'; // in case strncpy produces and un-terminated string mdbuf2_len = strlen(mdbuf2); retval = aor_transaction(rig, mdbuf2, mdbuf2_len, NULL, NULL); diff --git a/rigs/dummy/flrig.README b/rigs/dummy/flrig.README index 47be8bfd6..1902b476c 100644 --- a/rigs/dummy/flrig.README +++ b/rigs/dummy/flrig.README @@ -1,5 +1,5 @@ As of version 1.0 20180508 this works very well with flrig-1.3.40.50 and WSJT-X split mode. -Log4OM can be run conconcurrently connecting to "rigctld -M 4". +Log4OM can be run concurrently connecting to "rigctld -M 4". Note that for that Log4OM instance only clients that use extended protocol can connect to the client (since Log4OM uses extended protocol). If you want to use a client that does not have extended protocol you must run another rigctld on a separate TCP port. The same thing holds for any vfo mode clients. So you could end up with 4 rigctld's. One for each combination of extended/vfo mode. diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index e22cadfe7..77d3ac80e 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -4814,7 +4814,7 @@ int icom_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val) case RIG_LEVEL_AGC_TIME: - // some rigs have different level interpretaions for different modes + // some rigs have different level interpretations for different modes if (rs->current_mode == RIG_MODE_AM) { val->f = agc_level2[icom_val]; diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index d6c9227aa..e9636a1db 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -157,7 +157,7 @@ struct cmdparams struct icom_spectrum_scope_caps { int spectrum_line_length; /*!< Number of bytes in a complete spectrum scope line */ - int single_frame_data_length; /*!< Number of bytes of specrtum data in a single CI-V frame when the data split to multiple frames */ + int single_frame_data_length; /*!< Number of bytes of spectrum data in a single CI-V frame when the data split to multiple frames */ int data_level_min; /*!< */ int data_level_max; double signal_strength_min; diff --git a/rigs/kenwood/elecraft.c b/rigs/kenwood/elecraft.c index 76336faa7..36043de61 100644 --- a/rigs/kenwood/elecraft.c +++ b/rigs/kenwood/elecraft.c @@ -174,7 +174,7 @@ int elecraft_open(RIG *rig) } } - priv->save_k2_ext_lvl = -1; // so we don't restore if not neeede + priv->save_k2_ext_lvl = -1; // so we don't restore if not needed if (rig->caps->rig_model != RIG_MODEL_XG3) // XG3 doesn't have extended { diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 8daeee7f1..9e45d120b 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -3852,7 +3852,7 @@ int newcat_get_powerstat(RIG *rig, powerstat_t *status) } } - // Yeasu rigs in powered-off state require the PS command to be sent between 1 and 2 seconds after dummy data + // Yaesu rigs in powered-off state require the PS command to be sent between 1 and 2 seconds after dummy data hl_usleep(1100000); // Discard any unsolicited data rig_flush(rp); diff --git a/rotators/flir/README.md b/rotators/flir/README.md index 48896abe8..f3a7517e5 100644 --- a/rotators/flir/README.md +++ b/rotators/flir/README.md @@ -16,7 +16,7 @@ Tested only with PTU-D48 yet and with one rotor per chain only. 1. Connect the rotor via serial (RS232 or RS485) 2. Power up the rotor -3. The rotor must be calibrated after each power up. This can be accived +3. The rotor must be calibrated after each power up. This can be achieved either using the rotctl `Reset` command (R) or manually via serial terminal sending the `R\n` command. 4. To enable the rotor to fully turn +/- 180°, the softlock must be disabled. diff --git a/rotators/ioptron/README_ioptron b/rotators/ioptron/README_ioptron index ef610b66a..8e3ea5c58 100644 --- a/rotators/ioptron/README_ioptron +++ b/rotators/ioptron/README_ioptron @@ -2,7 +2,7 @@ This is a small backend for iOptron alt-az mounts. It implements get position, g A warning on iOptron command language. iOptron is in the process of moving from V2 to V3 of the command lamguage and presently (December 2018) uses a mix of the two. This back end should work with mounts with current firmware, but new firmware may change commands and break it. -Minor annoyance - the mount will automatically start siderial tracking after a slew. Adding a stop tracking command at the end of the goto set did not solve the problem. +Minor annoyance - the mount will automatically start sidereal tracking after a slew. Adding a stop tracking command at the end of the goto set did not solve the problem. Bigger annoyance - Be careful with the GEM mounts (iEQ30, iEQ45) in alt-az mode. The dec/el motor cord easily catches on the ra/az clutch knobs when slewing in az. I attached a small standoff to keep the cord out of the way. diff --git a/scripts/build-VB.NET.sh b/scripts/build-VB.NET.sh index ee2f292de..503659048 100644 --- a/scripts/build-VB.NET.sh +++ b/scripts/build-VB.NET.sh @@ -98,7 +98,7 @@ Covered are: - set/get VFO - get Riginfo - -rig_debug_level_e not verified (Function is Void, VB Dokumentation + -rig_debug_level_e not verified (Function is Void, VB Documentation says this is not possible to be marshaled, but Compiler is still accepting this) diff --git a/tests/rig_bench.c b/tests/rig_bench.c index e8336c380..89fb88f36 100644 --- a/tests/rig_bench.c +++ b/tests/rig_bench.c @@ -17,7 +17,7 @@ int main(int argc, const char *argv[]) { - RIG *my_rig; /* handle to rig (nstance) */ + RIG *my_rig; /* handle to rig (instance) */ int retcode; /* generic return code from functions */ rig_model_t myrig_model; unsigned i; diff --git a/tests/rigfreqwalk.c b/tests/rigfreqwalk.c index 65f14f364..85e1e4bd3 100644 --- a/tests/rigfreqwalk.c +++ b/tests/rigfreqwalk.c @@ -44,7 +44,7 @@ static double sigma(double arr[], int length) int main(int argc, const char *argv[]) { - RIG *my_rig; /* handle to rig (nstance) */ + RIG *my_rig; /* handle to rig (instance) */ int strength; /* S-Meter level */ int retcode; /* generic return code from functions */ diff --git a/tests/rigmem.c b/tests/rigmem.c index 84b8eaf68..084d59399 100644 --- a/tests/rigmem.c +++ b/tests/rigmem.c @@ -90,7 +90,7 @@ int all; int main(int argc, char *argv[]) { - RIG *rig; /* handle to rig (nstance) */ + RIG *rig; /* handle to rig (instance) */ rig_model_t my_model = RIG_MODEL_DUMMY; int retcode; /* generic return code from functions */ diff --git a/tests/rigswr.c b/tests/rigswr.c index 81294f6bd..766ed74f5 100644 --- a/tests/rigswr.c +++ b/tests/rigswr.c @@ -64,7 +64,7 @@ static struct option long_options[] = int main(int argc, char *argv[]) { - RIG *rig; /* handle to rig (nstance) */ + RIG *rig; /* handle to rig (instance) */ rig_model_t my_model = RIG_MODEL_DUMMY; int retcode; /* generic return code from functions */ diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c index 861bbf41c..62ab4bcf1 100644 --- a/tests/rotctl_parse.c +++ b/tests/rotctl_parse.c @@ -2930,7 +2930,7 @@ declare_proto_rot(pause) return RIG_OK; } -// short list for rigctl/rigctld display +// short list for rotctl/rotctld display int print_conf_list2(const struct confparams *cfp, rig_ptr_t data, FILE *fout) { ROT *rot = (ROT *) data; diff --git a/tests/testrig.c b/tests/testrig.c index b2979a009..a95e7612e 100644 --- a/tests/testrig.c +++ b/tests/testrig.c @@ -16,7 +16,7 @@ int main(int argc, const char *argv[]) { - RIG *my_rig; /* handle to rig (nstance) */ + RIG *my_rig; /* handle to rig (instance) */ freq_t freq; /* frequency */ rmode_t rmode; /* radio mode of operation */ pbwidth_t width; @@ -105,7 +105,7 @@ int main(int argc, const char *argv[]) */ /* - * Example of setting rig paameters + * Example of setting rig parameters * and some error checking on the return code. */ diff --git a/tests/testtrn.c b/tests/testtrn.c index 2333d8e0e..b0330955a 100644 --- a/tests/testtrn.c +++ b/tests/testtrn.c @@ -27,7 +27,7 @@ static int myfreq_event(RIG *rig, vfo_t vfo, freq_t freq, rig_ptr_t arg) int main(int argc, const char *argv[]) { - RIG *my_rig; /* handle to rig (nstance) */ + RIG *my_rig; /* handle to rig (instance) */ int retcode; /* generic return code from functions */ int i, count = 0;