Fixed typos in cli output and source code comments
This commit is contained in:
committed by
Andreas Eversberg
parent
97636aac1e
commit
a07764f0d9
@@ -33,7 +33,7 @@
|
||||
#include "eurosignal.h"
|
||||
#include "dsp.h"
|
||||
|
||||
/* anouncement timers */
|
||||
/* announcement timers */
|
||||
#define ANSWER_TIME 1.0 /* wait after answer */
|
||||
#define OOO_TIME 3.8 /* announcement 1.7 s, pause 2.1 s */
|
||||
#define UNASSIGNED_TIME1 2.2 /* announcement 2.2 s s */
|
||||
@@ -572,7 +572,7 @@ static void call_timeout(struct timer *timer)
|
||||
}
|
||||
/* if subcriber list is available, but ID is not found, we are unassigned */
|
||||
if (id_list && !search_id(call->station_id)) {
|
||||
PDEBUG(DEURO, DEBUG_INFO, "Subscriber unknwon, playing announcement.\n");
|
||||
PDEBUG(DEURO, DEBUG_INFO, "Subscriber unknown, playing announcement.\n");
|
||||
call->announcement_spl = es_kaudn_spl;
|
||||
call->announcement_size = es_kaudn_size;
|
||||
call->announcement_index = 0;
|
||||
@@ -768,7 +768,7 @@ static void _release(int callref, int __attribute__((unused)) cause)
|
||||
|
||||
call->callref = 0;
|
||||
|
||||
/* queued ID will keep in release state until trasmission has finished */
|
||||
/* queued ID will keep in release state until transmission has finished */
|
||||
if (call->state == EURO_CALL_ACKNOWLEDGE && call->page_count) {
|
||||
call_new_state(call, EURO_CALL_RELEASED);
|
||||
return;
|
||||
|
@@ -65,13 +65,13 @@ typedef struct eurosignal {
|
||||
double tx_phaseshift65536; /* current tone's phase shift per sample */
|
||||
double tx_phase; /* current phase of tone */
|
||||
double tx_time; /* current elapsed time of tone */
|
||||
char tx_digits[7]; /* current ID beeing transmitted */
|
||||
char tx_digits[7]; /* current ID being transmitted */
|
||||
int tx_digit_index; /* current digit beein transmitted */
|
||||
fm_demod_t rx_demod; /* demodulator for frequency */
|
||||
iir_filter_t rx_lp; /* low pass to filter the frequency result */
|
||||
int rx_digit_count; /* count the tone until detected */
|
||||
char rx_digit_last; /* last tone, so we detect any change */
|
||||
int rx_digit_receiving; /* we recive digis */
|
||||
int rx_digit_receiving; /* we receive digis */
|
||||
char rx_digits[7]; /* current ID being received */
|
||||
int rx_digit_index; /* current digit receiving */
|
||||
int rx_timeout_count; /* count the timeout */
|
||||
|
@@ -68,8 +68,8 @@ void print_help(const char *arg0)
|
||||
printf(" be the received pager ID. The called number will be '1' for the first\n");
|
||||
printf(" ID given, '2' for scond, ...)\n");
|
||||
printf(" -D --degraded\n");
|
||||
printf(" Play the anouncement that the system is degraded due to failure of one\n");
|
||||
printf(" or more transmitters. If the caller hangs up during or rigt after the\n");
|
||||
printf(" Play the announcement that the system is degraded due to failure of one\n");
|
||||
printf(" or more transmitters. If the caller hangs up during or right after the\n");
|
||||
printf(" announcement, no paging is performed.\n");
|
||||
printf(" -S --scan <from> <to>\n");
|
||||
printf(" Scan through given IDs once (no repetition). This can be useful to find\n");
|
||||
|
Reference in New Issue
Block a user