diff --git a/INSTALL b/INSTALL index d55fed819..cf7c215bc 100644 --- a/INSTALL +++ b/INSTALL @@ -362,7 +362,7 @@ the command line of the application's 'configure' script: These can be set on the Hamlib 'configure' script's command line to see the effect on the Hamlib utilities when they are built as statically linked -applicatins (--disable-shared option passed to 'configure'). With these +applications (--disable-shared option passed to 'configure'). With these environment variables it can be seen that 'rigctl' contains no rotor symbols nor does 'rotctl' contain any rig symbols. diff --git a/NEWS b/NEWS index 40fb1a529..b67636604 100644 --- a/NEWS +++ b/NEWS @@ -204,7 +204,7 @@ Version 4.3.1 - scripts: Update example in readme, since 4.0 817 is 1020 - Make testlibusb.c compatible with libusb < 1.0.23 Note: On systems with libusb < 1.0.23 a warning will be emitted - but compliation should proceed without error. + but compilation should proceed without error. - Update testlibusb.c warning to "may be" instead of "will be" - Change kenwood to only set VFOA default on 1st rig_open call diff --git a/bindings/csharp/hamlibgui/README.txt b/bindings/csharp/hamlibgui/README.txt index 4020be1ef..9d01e25fd 100644 --- a/bindings/csharp/hamlibgui/README.txt +++ b/bindings/csharp/hamlibgui/README.txt @@ -1,6 +1,6 @@ This is a test of creating a portable Hamlib GUI controller using dotnet and GTK Should be able to compile on Windows, Linux, and MacOS -No guarante this will go anywhere depending on ability to talk to Hamlib via C# +No guarantee this will go anywhere depending on ability to talk to Hamlib via C# On Windows dotnet new install GtkSharp.Template.CSharp diff --git a/doc/man1/rigctl.1 b/doc/man1/rigctl.1 index 3d95cc5eb..cf3aa0821 100644 --- a/doc/man1/rigctl.1 +++ b/doc/man1/rigctl.1 @@ -1324,7 +1324,7 @@ Examples: .TP .BR client_version " \(aq" \fIString\fP "\(aq .EX - Client can send it's version to rigctld and get feedback on compatibility, deprecation, and alternatives + Client can send its version to rigctld and get feedback on compatibility, deprecation, and alternatives . .SH READLINE . diff --git a/rigs/alinco/dxsr8.c b/rigs/alinco/dxsr8.c index 9bb035512..6cab2e78c 100644 --- a/rigs/alinco/dxsr8.c +++ b/rigs/alinco/dxsr8.c @@ -469,7 +469,7 @@ int dxsr8_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) return -RIG_EINVAL; } - filter = 0; // avoid compiler warings of being possibly uninitialized + filter = 0; // avoid compiler warnings of being possibly uninitialized retval = dxsr8_read_num(rig, AL "~RR_NAR" EOM, &filter); if (filter == 0) diff --git a/rigs/aor/README.ar5000 b/rigs/aor/README.ar5000 index 4c6ad7362..83378177a 100644 --- a/rigs/aor/README.ar5000 +++ b/rigs/aor/README.ar5000 @@ -16,7 +16,7 @@ The previous AR5000 could: Now, it: - can get and set frequency. - can read and set (all) modes. -- still does not support VFO D & E. I probably have not understood how VFO_N(3) and VFO_N(4) are ment to be used :-( +- still does not support VFO D & E. I probably have not understood how VFO_N(3) and VFO_N(4) are meant to be used :-( - can read AGC-level. diff --git a/rigs/codan/codan.c b/rigs/codan/codan.c index 1c38274de..f63821b59 100644 --- a/rigs/codan/codan.c +++ b/rigs/codan/codan.c @@ -333,7 +333,7 @@ int codan_get_freq(RIG *rig, vfo_t vfo, freq_t *freq) retval = sscanf(response, "FREQ: %lg", freq); - *freq *= 1000; // returne freq is in kHz + *freq *= 1000; // returned freq is in kHz if (retval != 1) { diff --git a/rigs/dummy/flrig.c b/rigs/dummy/flrig.c index 70c1fac7f..8a77cc69e 100644 --- a/rigs/dummy/flrig.c +++ b/rigs/dummy/flrig.c @@ -267,7 +267,7 @@ static int check_vfo(vfo_t vfo) /*Rather than use some huge XML library we only need a few things * So we'll hand craft them -* xml_build takes a value and return an xml string for FLRig +* xml_build takes a value and returns an xml string for FLRig */ static char *xml_build(RIG *rig, char *cmd, char *value, char *xmlbuf, int xmlbuflen) diff --git a/rigs/gomspace/gs100_sim/gs100_sim.ino b/rigs/gomspace/gs100_sim/gs100_sim.ino index cdc814346..5b9236f51 100644 --- a/rigs/gomspace/gs100_sim/gs100_sim.ino +++ b/rigs/gomspace/gs100_sim/gs100_sim.ino @@ -132,7 +132,7 @@ static void prnPrompt(void); /** * @brief Displays hint output for commands * @param hint_type Type or command - * @oaram cmd Part of command to comment + * @param cmd Part of command to comment */ static void prnHint(hint_t hint_type, char *cmd); diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 71c401313..592ba0f01 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -1074,7 +1074,7 @@ retry_open: } else if (retval != RIG_OK) { - // didnt' ask for power on so let's retry one more time + // didn't ask for power on so let's retry one more time if (retry_flag) { @@ -2726,7 +2726,7 @@ int icom_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) if (*width == 0) { *width = rig->state.cache.widthMainA; } // we'll use VFOA's width - // dont' really care about cache time here + // don't really care about cache time here // this is just to prevent vfo swapping while getting width rig->state.cache.widthMainB = retval; rig_debug(RIG_DEBUG_TRACE, "%s(%d): vfosave=%s, currvfo=%s\n", __func__, @@ -2798,8 +2798,8 @@ int icom_set_vfo(RIG *rig, vfo_t vfo) { // if rig doesn't have Main/Sub // or if rig has both Main/Sub and A/B -- e.g. 9700 - // and we dont' have split or satmode turned on - // then we dont' use Sub -- instead we use Main/VFOB + // and we don't have split or satmode turned on + // then we don't use Sub -- instead we use Main/VFOB vfo = RIG_VFO_B; rig_debug(RIG_DEBUG_TRACE, "%s: Rig does not have MAIN/SUB so Sub changed to %s\n", diff --git a/rigs/icom/level_gran_icom.h b/rigs/icom/level_gran_icom.h index 2776d7388..0c8d2cc59 100644 --- a/rigs/icom/level_gran_icom.h +++ b/rigs/icom/level_gran_icom.h @@ -10,7 +10,7 @@ LVL_PBT_OUT LVL_KEYSPD */ - // Once included these values can be overidden in the back-end + // Once included these values can be overridden in the back-end // Known variants are AGC_TIME, PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100) // cppcheck-suppress * /* raw data */ diff --git a/rigs/kenwood/ic10.c b/rigs/kenwood/ic10.c index f0dc6f199..2fafea7c1 100644 --- a/rigs/kenwood/ic10.c +++ b/rigs/kenwood/ic10.c @@ -550,7 +550,7 @@ int ic10_get_ptt(RIG *rig, vfo_t vfo, ptt_t *ptt) /* 12345678901234567890123456789012345678 */ offset = 5; if (iflen == 36) offset = 8; // QRP QDX gets completely bogus length - else if (iflen == 37) offset = 9; // just incase somebody does this add p13/p14x2/p15 + else if (iflen == 37) offset = 9; // just in case somebody does this add p13/p14x2/p15 *ptt = infobuf[iflen - offset] == '0' ? RIG_PTT_OFF : RIG_PTT_ON; diff --git a/rigs/kenwood/kenwood.c b/rigs/kenwood/kenwood.c index 84b4d91ad..8cc758f80 100644 --- a/rigs/kenwood/kenwood.c +++ b/rigs/kenwood/kenwood.c @@ -865,7 +865,7 @@ int kenwood_open(RIG *rig) rig_debug(RIG_DEBUG_TRACE, "%s: got PS0 so powerup\n", __func__); rig_set_powerstat(rig, 1); } - else if (err == -RIG_ETIMEOUT) // Some rigs like TS-450 dont' have PS cmd + else if (err == -RIG_ETIMEOUT) // Some rigs like TS-450 don't have PS cmd { priv->has_ps = 0; } diff --git a/rigs/kenwood/level_gran_kenwood.h b/rigs/kenwood/level_gran_kenwood.h index 2a242c990..44b668f96 100644 --- a/rigs/kenwood/level_gran_kenwood.h +++ b/rigs/kenwood/level_gran_kenwood.h @@ -1,4 +1,4 @@ - // Once included these values can be overidden in the back-end + // Once included these values can be overridden in the back-end // Known variants are PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100) // cppcheck-suppress * /* raw data */ diff --git a/rigs/kit/drt1.c b/rigs/kit/drt1.c index 483f10a26..00a07989d 100644 --- a/rigs/kit/drt1.c +++ b/rigs/kit/drt1.c @@ -398,7 +398,7 @@ static int ad_write_reg(hamlib_port_t *port, unsigned addr, unsigned nb_bytes, return RIG_OK; } -/* Register serial adresses */ +/* Register serial addresses */ #define CFR1 0x0 #define CFR2 0x1 #define ASF 0x2 diff --git a/rigs/tentec/jupiter.c b/rigs/tentec/jupiter.c index fefe7cd26..1be61bfa4 100644 --- a/rigs/tentec/jupiter.c +++ b/rigs/tentec/jupiter.c @@ -229,7 +229,7 @@ const struct rig_caps tt538_caps = .hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS }; -/* Filter table for 538 reciver support. */ +/* Filter table for 538 receiver support. */ static int tt538_rxFilter[] = { 8000, 6000, 5700, 5400, 5100, 4800, 4500, 4200, 3900, 3600, 3300, diff --git a/rigs/tentec/omnivii.c b/rigs/tentec/omnivii.c index 9c8f6aff0..3f37ad79a 100644 --- a/rigs/tentec/omnivii.c +++ b/rigs/tentec/omnivii.c @@ -237,7 +237,7 @@ const struct rig_caps tt588_caps = .hamlib_check_rig_caps = HAMLIB_CHECK_RIG_CAPS }; -/* Filter table for 588 reciver support. */ +/* Filter table for 588 receiver support. */ static int tt588_rxFilter[] = { 12000, 9000, 8000, 7500, 7000, 6500, 6000, 5500, 5000, 4500, 4000, 3800, 3600, 3400, 3200, diff --git a/rigs/tentec/tt550.c b/rigs/tentec/tt550.c index de1690447..5630b46c0 100644 --- a/rigs/tentec/tt550.c +++ b/rigs/tentec/tt550.c @@ -32,7 +32,7 @@ #include "tt550.h" /* - * Filter table for 550 reciver support + * Filter table for 550 receiver support */ static int tt550_filters[] = { diff --git a/rigs/yaesu/ft1000d.c b/rigs/yaesu/ft1000d.c index 9fbda3508..8891d62df 100644 --- a/rigs/yaesu/ft1000d.c +++ b/rigs/yaesu/ft1000d.c @@ -3289,7 +3289,7 @@ static int ft1000d_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft1000d_get_update_data(RIG *rig, unsigned char ci, unsigned short ch) @@ -3413,7 +3413,7 @@ static int ft1000d_get_update_data(RIG *rig, unsigned char ci, * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft1000d_send_static_cmd(RIG *rig, unsigned char ci) { @@ -3457,7 +3457,7 @@ static int ft1000d_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft1000d_send_dynamic_cmd(RIG *rig, unsigned char ci, unsigned char p1, unsigned char p2, @@ -3517,7 +3517,7 @@ static int ft1000d_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft1000d_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) { @@ -3575,7 +3575,7 @@ static int ft1000d_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * rit shortfreq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft1000d_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit) { diff --git a/rigs/yaesu/ft840.c b/rigs/yaesu/ft840.c index 14043264c..dc686e12a 100644 --- a/rigs/yaesu/ft840.c +++ b/rigs/yaesu/ft840.c @@ -1722,7 +1722,7 @@ static int ft840_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft840_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) @@ -1768,7 +1768,7 @@ static int ft840_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft840_send_static_cmd(RIG *rig, unsigned char ci) @@ -1812,7 +1812,7 @@ static int ft840_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft840_send_dynamic_cmd(RIG *rig, unsigned char ci, @@ -1873,7 +1873,7 @@ static int ft840_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft840_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) @@ -1936,7 +1936,7 @@ static int ft840_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function * * Assumes: rit doesn't exceed tuning limits of rig */ diff --git a/rigs/yaesu/ft857.c b/rigs/yaesu/ft857.c index 5ce30847c..243f080fe 100644 --- a/rigs/yaesu/ft857.c +++ b/rigs/yaesu/ft857.c @@ -610,7 +610,7 @@ int ft857_get_vfo(RIG *rig, vfo_t *vfo) rig_debug(RIG_DEBUG_VERBOSE, "%s: called \n", __func__); - // Some 857's cannnot read so we'll just return the cached value if we've seen an error + // Some 857's cannot read so we'll just return the cached value if we've seen an error if (ignore) { *vfo = rig->state.cache.vfo; diff --git a/rigs/yaesu/ft890.c b/rigs/yaesu/ft890.c index b50a97774..20f999ad3 100644 --- a/rigs/yaesu/ft890.c +++ b/rigs/yaesu/ft890.c @@ -1875,7 +1875,7 @@ static int ft890_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft890_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) @@ -1921,7 +1921,7 @@ static int ft890_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft890_send_static_cmd(RIG *rig, unsigned char ci) @@ -1964,7 +1964,7 @@ static int ft890_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft890_send_dynamic_cmd(RIG *rig, unsigned char ci, @@ -2025,7 +2025,7 @@ static int ft890_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft890_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) @@ -2088,7 +2088,7 @@ static int ft890_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function * * Assumes: rit doesn't exceed tuning limits of rig */ diff --git a/rigs/yaesu/ft900.c b/rigs/yaesu/ft900.c index 6766f87da..36aeca19e 100644 --- a/rigs/yaesu/ft900.c +++ b/rigs/yaesu/ft900.c @@ -1897,7 +1897,7 @@ static int ft900_vfo_op(RIG *rig, vfo_t vfo, vfo_op_t op) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft900_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) @@ -1943,7 +1943,7 @@ static int ft900_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft900_send_static_cmd(RIG *rig, unsigned char ci) @@ -1986,7 +1986,7 @@ static int ft900_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft900_send_dynamic_cmd(RIG *rig, unsigned char ci, @@ -2047,7 +2047,7 @@ static int ft900_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft900_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) @@ -2110,7 +2110,7 @@ static int ft900_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function * * Assumes: rit doesn't exceed tuning limits of rig */ diff --git a/rigs/yaesu/ft920.c b/rigs/yaesu/ft920.c index 96aad7406..01be2022a 100644 --- a/rigs/yaesu/ft920.c +++ b/rigs/yaesu/ft920.c @@ -2605,7 +2605,7 @@ static int ft920_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft920_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) @@ -2652,7 +2652,7 @@ static int ft920_get_update_data(RIG *rig, unsigned char ci, unsigned char rl) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft920_send_static_cmd(RIG *rig, unsigned char ci) @@ -2699,7 +2699,7 @@ static int ft920_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft920_send_dynamic_cmd(RIG *rig, unsigned char ci, @@ -2765,7 +2765,7 @@ static int ft920_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int ft920_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) @@ -2832,7 +2832,7 @@ static int ft920_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * p2 P2 value -- CLAR_OFFSET_PLUS || CLAR_OFFSET_MINUS * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function * * Assumes: rit doesn't exceed tuning limits of rig */ diff --git a/rigs/yaesu/ft990.c b/rigs/yaesu/ft990.c index 5049ec33d..8d059cb7e 100755 --- a/rigs/yaesu/ft990.c +++ b/rigs/yaesu/ft990.c @@ -3221,7 +3221,7 @@ int ft990_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, int read_only) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990_get_update_data(RIG *rig, unsigned char ci, unsigned short ch) { @@ -3319,7 +3319,7 @@ int ft990_get_update_data(RIG *rig, unsigned char ci, unsigned short ch) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990_send_static_cmd(RIG *rig, unsigned char ci) { @@ -3360,7 +3360,7 @@ int ft990_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990_send_dynamic_cmd(RIG *rig, unsigned char ci, unsigned char p1, unsigned char p2, @@ -3419,7 +3419,7 @@ int ft990_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) { @@ -3476,7 +3476,7 @@ int ft990_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * rit shortfreq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit) { diff --git a/rigs/yaesu/ft990v12.c b/rigs/yaesu/ft990v12.c index 7e8b87706..b7f9f0656 100644 --- a/rigs/yaesu/ft990v12.c +++ b/rigs/yaesu/ft990v12.c @@ -3254,7 +3254,7 @@ int ft990v12_get_channel(RIG *rig, vfo_t vfo, channel_t *chan, int read_only) * rl expected length of returned data in octets * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990v12_get_update_data(RIG *rig, unsigned char ci, unsigned short ch) { @@ -3413,7 +3413,7 @@ int ft990v12_get_update_data(RIG *rig, unsigned char ci, unsigned short ch) * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990v12_send_static_cmd(RIG *rig, unsigned char ci) { @@ -3454,7 +3454,7 @@ int ft990v12_send_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990v12_send_dynamic_cmd(RIG *rig, unsigned char ci, unsigned char p1, unsigned char p2, @@ -3513,7 +3513,7 @@ int ft990v12_send_dynamic_cmd(RIG *rig, unsigned char ci, * freq freq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990v12_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) { @@ -3570,7 +3570,7 @@ int ft990v12_send_dial_freq(RIG *rig, unsigned char ci, freq_t freq) * rit shortfreq_t frequency value * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ int ft990v12_send_rit_freq(RIG *rig, unsigned char ci, shortfreq_t rit) { diff --git a/rigs/yaesu/level_gran_yaesu.h b/rigs/yaesu/level_gran_yaesu.h index 9bb55a6ea..9ca7a45cd 100644 --- a/rigs/yaesu/level_gran_yaesu.h +++ b/rigs/yaesu/level_gran_yaesu.h @@ -1,4 +1,4 @@ - // Once included these values can be overidden in the back-end + // Once included these values can be overridden in the back-end // Known variants are PREAMP, ATT, NB, CWPITCH, IF, NOTCHF, VOXDELAY, BKINDL, BKIN_DLYMS, RFPOWER_METER(255 or 100), RFPOWER_METER_WATTS(255 or 100) // cppcheck-suppress * /* raw data */ diff --git a/rigs/yaesu/newcat.c b/rigs/yaesu/newcat.c index 02dd93b5b..fba7613b3 100644 --- a/rigs/yaesu/newcat.c +++ b/rigs/yaesu/newcat.c @@ -811,7 +811,7 @@ int newcat_get_conf2(RIG *rig, token_t token, char *val, int val_len) static int freq_60m[] = { 5332000, 5348000, 5358500, 5373000, 5405000 }; -/* returns 0 if no exeption or 1 if rig needs special handling */ +/* returns 0 if no exception or 1 if rig needs special handling */ int newcat_60m_exception(RIG *rig, freq_t freq, mode_t mode) { struct newcat_priv_data *priv = (struct newcat_priv_data *)rig->state.priv; @@ -10852,7 +10852,7 @@ int newcat_set_cmd_validate(RIG *rig) if (strlen(valcmd) == 0) { RETURNFUNC(RIG_OK); } - // we can use a single ; to get a reponse of ?; for some rigs + // we can use a single ; to get a response of ?; for some rigs // this list can be expanded as we get more testing // seems newer rigs have this older ones time out switch(rig->caps->rig_model) diff --git a/rigs/yaesu/vx1700.c b/rigs/yaesu/vx1700.c index 9713f2c54..b9db196ec 100644 --- a/rigs/yaesu/vx1700.c +++ b/rigs/yaesu/vx1700.c @@ -400,7 +400,7 @@ static int vx1700_do_transaction(RIG *rig, * ci Command index of the ncmd table * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int vx1700_do_static_cmd(RIG *rig, unsigned char ci) { @@ -427,7 +427,7 @@ static int vx1700_do_static_cmd(RIG *rig, unsigned char ci) * p1-p4 Command parameters * * Returns: RIG_OK if all called functions are successful, - * otherwise returns error from called functiion + * otherwise returns error from called function */ static int vx1700_do_dynamic_cmd(RIG *rig, unsigned char ci, unsigned char p1, unsigned char p2, diff --git a/rotators/flir/README.md b/rotators/flir/README.md index 11d3b9bc2..48896abe8 100644 --- a/rotators/flir/README.md +++ b/rotators/flir/README.md @@ -20,7 +20,7 @@ Tested only with PTU-D48 yet and with one rotor per chain only. 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. -This is included in the rotctl `Reset` commnad or manually via serial terminal +This is included in the rotctl `Reset` command or manually via serial terminal seinden the command `LD\n`. **WARNING:** Send this command only after the rotor is calibrated, or you risk damage running into the hard endstops (at about +/-190°) 5. Start `rotctl` or `rotctld` with the arguments `-m 2501 -r port_type) { case RIG_PORT_SERIAL: - // Dont' think we need a default port here + // Don't think we need a default port here //strncpy(rs->ampport.pathname, DEFAULT_SERIAL_PORT, HAMLIB_FILPATHLEN - 1); rs->ampport.parm.serial.rate = caps->serial_rate_max; /* fastest ! */ rs->ampport.parm.serial.data_bits = caps->serial_data_bits; diff --git a/src/conf.c b/src/conf.c index 126ef3255..a3b71d2e9 100644 --- a/src/conf.c +++ b/src/conf.c @@ -1247,7 +1247,7 @@ const struct confparams *HAMLIB_API rig_confparam_lookup(RIG *rig, * \param rig The rig handle * \param name The name of the configuration parameter * - * Simple lookup returning token id assicated with name. + * Simple lookup returning token id associated with name. * * \return the token id if found, otherwise RIG_CONF_END */ diff --git a/tests/README b/tests/README index 9279069ea..665709d4b 100644 --- a/tests/README +++ b/tests/README @@ -34,8 +34,8 @@ rigmem - Combined tool to load/save content of rig memory, see man page rotctl - Similar to 'rigctl' but for rotators, see man page rigctld - A simple daemon to process 'rigctl' commands received over a network socket. Useful for scripting languages or remote access - via an SSH tunnel (unsecure program). See man page. + via an SSH tunnel (insecure program). See man page. rotctld - A simple daemon to process 'rotctl' commands received over a network socket. Useful for scripting languages or remote access - via an SSH tunnel (unsecure program). See man page. + via an SSH tunnel (insecure program). See man page. testctld.pl A Perl program to test 'rigctld' and provide some example code. diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index b6f761301..97e9ccd6b 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -1773,7 +1773,7 @@ readline_repeat: } // we need to copy client_version to our thread in case there are multiple client versions - // client_version is used to determine any backward compatiblity requirements or problems + // client_version is used to determine any backward compatibility requirements or problems strncpy(client_version, my_rig->state.client_version, sizeof(client_version)); } @@ -4897,7 +4897,7 @@ declare_proto_rig(send_cmd) rig_debug(RIG_DEBUG_TRACE, "%s: rigport=%d, bufcmd=%s, cmd_len=%d\n", __func__, rs->rigport.fd, hasbinary(bufcmd, cmd_len) ? "BINARY" : bufcmd, cmd_len); - // we dont' want the 'w' command to wait too long + // we don't want the 'w' command to wait too long int save_retry = rs->rigport.retry; rs->rigport.retry = 0; retval = write_block(&rs->rigport, (unsigned char *) bufcmd, cmd_len); diff --git a/tests/rigctlcom.c b/tests/rigctlcom.c index 9c1a3d5a0..0434fc58e 100644 --- a/tests/rigctlcom.c +++ b/tests/rigctlcom.c @@ -1490,7 +1490,7 @@ static int handle_ts2000(void *arg) int isplit; int retval; char response[32]; - // Expecting DCnn -- but we dont' care about the control param + // Expecting DCnn -- but we don't care about the control param int n = sscanf(arg, "DC%d", &isplit); if (n != 1)