Fixed many typos in output and source code comments

This commit is contained in:
Martin Hauke
2019-07-15 21:14:52 +02:00
committed by Andreas Eversberg
parent c357ab5ad5
commit 75765d49b7
30 changed files with 49 additions and 49 deletions

View File

@@ -143,9 +143,9 @@ void dsp_cleanup_sender(jolly_t *jolly)
}
}
void set_speech_string(jolly_t *jolly, char anouncement, const char *number)
void set_speech_string(jolly_t *jolly, char announcement, const char *number)
{
jolly->speech_string[0] = anouncement;
jolly->speech_string[0] = announcement;
jolly->speech_string[1] = '\0';
strncat(jolly->speech_string, number, sizeof(jolly->speech_string) - 1);
jolly->speech_digit = 0;

View File

@@ -2,6 +2,6 @@
void dsp_init(void);
int dsp_init_sender(jolly_t *jolly, int nbfm, double squelch_db, int repeater);
void dsp_cleanup_sender(jolly_t *jolly);
void set_speech_string(jolly_t *jolly, char anouncement, const char *number);
void set_speech_string(jolly_t *jolly, char announcement, const char *number);
void reset_speech_string(jolly_t *jolly);

View File

@@ -88,7 +88,7 @@
* | '#' received | stop timer
* | | call setup
* | | if call setup fails:
* | | play release anouncement
* | | play release announcement
* | | go to state RELEASED
* | | go to state CALL
* | |
@@ -98,18 +98,18 @@
* CALL | '*' received | start timer T-DIAL2
* | | go to state CALL-DIALING
* | |
* | call release | play release anouncement
* | call release | play release announcement
* | | go to state RELEASED
* | |
* -------------+-----------------------+--------------------------------------
* CALL-DIALING | '#' received | stop timer
* | | call release
* | | play release anouncement
* | | play release announcement
* | | go to state RELEASED
* | |
* | timeout | go state CALL
* | |
* | call release | play release anouncement
* | call release | play release announcement
* | | go to state RELEASED
* | |
* -------------+-----------------------+--------------------------------------
@@ -121,7 +121,7 @@
* | call release | go to state IDLE
* | |
* -------------+-----------------------+--------------------------------------
* RELEASED | end of anouncement | go to state IDLE
* RELEASED | end of announcement | go to state IDLE
* | |
*/

View File

@@ -93,7 +93,7 @@ static int handle_options(int short_option, int argi, char **argv)
string_ul = strsep(&string, ",");
string_step = strsep(&string, ",");
if (!string_dl || !string_ul || !string_step) {
fprintf(stderr, "Please give 3 values for --frequency, seperated by comma and no space!\n");
fprintf(stderr, "Please give 3 values for --frequency, separated by comma and no space!\n");
exit(0);
}
dl_freq = atof(string_dl);