Skip to content

Fix spelling errors in user-visible text and in code comments #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ endif()
# auto include current directory
set(CMAKE_INCLUDE_CURRENT_DIR ON)

# set OS dependant variables
# set OS dependent variables
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(LINUX TRUE)

Expand Down
2 changes: 1 addition & 1 deletion conf/99-direwolf-cmedia.rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# $ ls -l /dev/hidraw*
# crw------- 1 root root 247, 0 Sep 24 09:40 /dev/hidraw0
#
# An ordinary user, trying to acccess it will be denied.
# An ordinary user, trying to access it will be denied.
#
# Unnecessarily running applications as root is generally a bad idea because it makes it too easy
# to accidentally trash your system. We need to relax the restrictions so ordinary users can use these devices.
Expand Down
2 changes: 1 addition & 1 deletion external/geotranz/mgrs.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ extern "C" {
* The function Convert_MGRS_To_UPS converts an MGRS coordinate string
* to UPS (hemisphere, easting, and northing) coordinates, according
* to the current ellipsoid parameters. If any errors occur, the error
* code(s) are returned by the function, otherwide UPS_NO_ERROR is returned.
* code(s) are returned by the function, otherwise UPS_NO_ERROR is returned.
*
* MGRS : MGRS coordinate string (input)
* Hemisphere : Hemisphere either 'N' or 'S' (output)
Expand Down
2 changes: 1 addition & 1 deletion man/kissutil.1
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Example: %H:%M:%S for current time in hours, minutes, seconds.

.TP
.BI "-f " "xmit-directory"
Files in this directory are transmited and deleted.
Files in this directory are transmitted and deleted.
Another application places a file here when it wants something to be transmitted.

.TP
Expand Down
2 changes: 1 addition & 1 deletion man/tt2text.1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tt2text \- Convert Touch Tone sequence to text


.SH DESCRIPTION
\fBtt2text\fR converts a Touch Tone squence to text. There are two types
\fBtt2text\fR converts a Touch Tone sequence to text. There are two types
of encoding:
.RS
.HP
Expand Down
12 changes: 6 additions & 6 deletions src/agwlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ static void * tnc_listen_thread (void *arg)
s_tnc_sock = dwsock_connect (s_tnc_host, s_tnc_port, "TNC", 0, 0, tncaddr);

if (s_tnc_sock != -1) {
dw_printf ("Succesfully reattached to network TNC.\n");
dw_printf ("Successfully reattached to network TNC.\n");

// Might need to run TNC initialization again.
// For example, a server would register its callsigns.
Expand Down Expand Up @@ -600,7 +600,7 @@ int agwlib_G_ask_port_information (void)
* Returns: Number of bytes sent for success, -1 for error.
*
* Description: This only starts the sequence and does not wait.
* Success or failue will be indicated sometime later by ?
* Success or failure will be indicated sometime later by ?
*
*--------------------------------------------------------------------*/

Expand Down Expand Up @@ -635,7 +635,7 @@ int agwlib_C_connect (int chan, char *call_from, char *call_to)
* Returns: Number of bytes sent for success, -1 for error.
*
* Description: This only starts the sequence and does not wait.
* Success or failue will be indicated sometime later by ?
* Success or failure will be indicated sometime later by ?
*
*--------------------------------------------------------------------*/

Expand Down Expand Up @@ -722,13 +722,13 @@ int agwlib_D_send_connected_data (int chan, int pid, char *call_from, char *call
* hand we don't want to get TOO far ahead when transferring a large file.
*
* Before disconnecting from another station, it would be good to know
* that it actually recevied the last message we sent. For this reason,
* that it actually received the last message we sent. For this reason,
* I think it would be good for this to include frames that were
* transmitted but not yet acknowleged. (Even if it was transmitted once,
* transmitted but not yet acknowledged. (Even if it was transmitted once,
* it could still be transmitted again, if lost, so you could say it is
* still waiting for transmission.)
*
* See server.c for a more precise definition of exacly how this is defined.
* See server.c for a more precise definition of exactly how this is defined.
*
*--------------------------------------------------------------------*/

Expand Down
4 changes: 2 additions & 2 deletions src/ais.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ void ais_to_nmea (unsigned char *ais, int ais_len, char *nmea, int nmea_size)
*
* Name: ais_parse
*
* Purpose: Parse AIS sentence and extract interesing parts.
* Purpose: Parse AIS sentence and extract interesting parts.
*
* Inputs: sentence NMEA sentence.
*
Expand Down Expand Up @@ -594,7 +594,7 @@ int ais_parse (char *sentence, int quiet, char *descr, int descr_size, char *mss
*
* Returns: -1 Invalid message type.
* 0 Good length.
* 1 Unexpected lenth.
* 1 Unexpected length.
*
*--------------------------------------------------------------------*/

Expand Down
18 changes: 9 additions & 9 deletions src/aprs_tt.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void aprs_tt_init (struct tt_config_s *p)
* The complete message is then processed.
* The touch tone decoder sends $ if no activity
* for some amount of time, perhaps 5 seconds.
* A partially accumulated messge is discarded if
* A partially accumulated message is discarded if
* there is a long gap.
*
* '.' means no activity during processing period.
Expand Down Expand Up @@ -574,7 +574,7 @@ static int parse_fields (char *msg)
* Purpose: Expand compact form "macro" to full format then process.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should contain only digits.
*
* Returns: 0 for success or one of the TT_ERROR_... codes.
Expand Down Expand Up @@ -689,7 +689,7 @@ static int expand_macro (char *e)
* Purpose: Extract traditional format callsign or object name from touch tone sequence.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "A".
*
* Outputs: m_callsign
Expand Down Expand Up @@ -845,7 +845,7 @@ static int parse_callsign (char *e)
* Purpose: Extract object name from touch tone sequence.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "AA".
*
* Outputs: m_callsign
Expand Down Expand Up @@ -901,7 +901,7 @@ static int parse_object_name (char *e)
* Purpose: Extract symbol from touch tone sequence.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "AB".
*
* Outputs: m_symtab_or_overlay
Expand Down Expand Up @@ -995,7 +995,7 @@ static int parse_symbol (char *e)
* Purpose: Extract QIKcom-2 / APRStt 3 ten digit call or five digit suffix.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "AC".
*
* Outputs: m_callsign
Expand Down Expand Up @@ -1073,7 +1073,7 @@ static int parse_aprstt3_call (char *e)
* Purpose: Extract location from touch tone sequence.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "B".
*
* Outputs: m_latitude
Expand Down Expand Up @@ -1415,7 +1415,7 @@ static int parse_location (char *e)
* defined in the configuration file.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "B".
*
* valstrsize - size of the outputs so we can check for buffer overflow.
Expand Down Expand Up @@ -1566,7 +1566,7 @@ static int find_ttloc_match (char *e, char *xstr, char *ystr, char *zstr, char *
* Purpose: Extract comment / status or other special information from touch tone message.
*
* Inputs: e - An "entry" extracted from a complete
* APRStt messsage.
* APRStt message.
* In this case, it should start with "C".
*
* Outputs: m_comment
Expand Down
2 changes: 1 addition & 1 deletion src/aprs_tt.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ struct tt_config_s {
int obj_recv_chan; /* Channel to listen for tones. */

int obj_xmit_chan; /* Channel to transmit object report. */
/* -1 for none. This could happpen if we */
/* -1 for none. This could happen if we */
/* are only sending to application */
/* and/or IGate. */

Expand Down
6 changes: 3 additions & 3 deletions src/atest.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
*
* Purpose: Test fixture for the AFSK demodulator.
*
* Inputs: Takes audio from a .WAV file insted of the audio device.
* Inputs: Takes audio from a .WAV file instead of the audio device.
*
* Description: This can be used to test the AFSK demodulator under
* controlled and reproducable conditions for tweaking.
* controlled and reproducible conditions for tweaking.
*
* For example
*
Expand Down Expand Up @@ -703,7 +703,7 @@ int main (int argc, char *argv[])
dw_printf ("%d packets decoded in %.3f seconds. %.1f x realtime\n", packets_decoded_total, elapsed, total_filetime/elapsed);
if (d_o_opt) {
dw_printf ("DCD count = %d\n", dcd_count);
dw_printf ("DCD missing erors = %d\n", dcd_missing_errors);
dw_printf ("DCD missing errors = %d\n", dcd_missing_errors);
}

if (error_if_less_than != -1 && packets_decoded_total < error_if_less_than) {
Expand Down
4 changes: 2 additions & 2 deletions src/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static int calcbufsize(int rate, int chans, int bits)
* more restrictive in its capabilities.
* It might say, the best I can do is mono, 8 bit, 8000/sec.
*
* The sofware modem must use this ACTUAL information
* The software modem must use this ACTUAL information
* that the device is supplying, that could be different
* than what the user specified.
*
Expand Down Expand Up @@ -769,7 +769,7 @@ static int set_oss_params (int a, int fd, struct audio_s *pa)
* This was long ago under different conditions.
* Should study this again some day.
*
* Your milage may vary.
* Your mileage may vary.
*/
err = ioctl (fd, SNDCTL_DSP_GETBLKSIZE, &ossbuf_size_in_bytes);
if (err == -1) {
Expand Down
8 changes: 4 additions & 4 deletions src/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ struct audio_s {

enum v26_e { V26_UNSPECIFIED=0, V26_A, V26_B } v26_alternative;

// Original implementaion used alternative A for 2400 bbps PSK.
// Original implementation used alternative A for 2400 bbps PSK.
// Years later, we discover that MFJ-2400 used alternative B.
// It's likely the others did too. it also works a little better.
// Default to MFJ compatible and print warning if user did not
Expand Down Expand Up @@ -261,7 +261,7 @@ struct audio_s {
#define MAX_GPIO_NAME_LEN 20 // 12 would cover any case I've seen so this should be safe

char out_gpio_name[MAX_GPIO_NAME_LEN];
/* orginally, gpio number NN was assumed to simply */
/* originally, gpio number NN was assumed to simply */
/* have the name gpioNN but this turned out not to be */
/* the case for CubieBoard where it was longer. */
/* This is filled in by ptt_init so we don't have to */
Expand Down Expand Up @@ -298,7 +298,7 @@ struct audio_s {
int in_gpio_num; /* GPIO number */

char in_gpio_name[MAX_GPIO_NAME_LEN];
/* orginally, gpio number NN was assumed to simply */
/* originally, gpio number NN was assumed to simply */
/* have the name gpioNN but this turned out not to be */
/* the case for CubieBoard where it was longer. */
/* This is filled in by ptt_init so we don't have to */
Expand All @@ -312,7 +312,7 @@ struct audio_s {
int dwait; /* First wait extra time for receiver squelch. */
/* Default 0 units of 10 mS each . */

int slottime; /* Slot time in 10 mS units for persistance algorithm. */
int slottime; /* Slot time in 10 mS units for persistence algorithm. */
/* Typical value is 10 meaning 100 milliseconds. */

int persist; /* Sets probability for transmitting after each */
Expand Down
4 changes: 2 additions & 2 deletions src/audio_portaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static int calcbufsize(int rate, int chans, int bits)
* the same device name for more then one connected device
* (ie two SignaLinks). Appending a Portaudio device index to the
* the device name ensure we can find the correct one. And if it's not
* available return the first occurence that matches the device name.
* available return the first occurrence that matches the device name.
*----------------------------------------------------------------*/
static int searchPADevice(struct adev_s *dev, char *_devName, int reqDeviceNo, int io_flag)
{
Expand Down Expand Up @@ -513,7 +513,7 @@ static int paOutput16CB( const void *inputBuffer, void *outputBuffer,
* more restrictive in its capabilities.
* It might say, the best I can do is mono, 8 bit, 8000/sec.
*
* The sofware modem must use this ACTUAL information
* The software modem must use this ACTUAL information
* that the device is supplying, that could be different
* than what the user specified.
*
Expand Down
4 changes: 2 additions & 2 deletions src/audio_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ static struct adev_s {
* more restrictive in its capabilities.
* It might say, the best I can do is mono, 8 bit, 8000/sec.
*
* The sofware modem must use this ACTUAL information
* The software modem must use this ACTUAL information
* that the device is supplying, that could be different
* than what the user specified.
*
Expand Down Expand Up @@ -921,7 +921,7 @@ int audio_get (int a)
* c - One byte in range of 0 - 255.
*
*
* Global In: out_current - index of output buffer currenly being filled.
* Global In: out_current - index of output buffer currently being filled.
*
* Returns: Normally non-negative.
* -1 for any type of error.
Expand Down
Loading