diff options
Diffstat (limited to 'src/eurosignal')
-rw-r--r-- | src/eurosignal/eurosignal.c | 6 | ||||
-rw-r--r-- | src/eurosignal/eurosignal.h | 4 | ||||
-rw-r--r-- | src/eurosignal/main.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/eurosignal/eurosignal.c b/src/eurosignal/eurosignal.c index 8d67cd6..5bfaddd 100644 --- a/src/eurosignal/eurosignal.c +++ b/src/eurosignal/eurosignal.c @@ -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; diff --git a/src/eurosignal/eurosignal.h b/src/eurosignal/eurosignal.h index 630a0cc..5e28dba 100644 --- a/src/eurosignal/eurosignal.h +++ b/src/eurosignal/eurosignal.h @@ -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 */ diff --git a/src/eurosignal/main.c b/src/eurosignal/main.c index 3df9931..1337b7a 100644 --- a/src/eurosignal/main.c +++ b/src/eurosignal/main.c @@ -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"); |