diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2016-07-24 12:28:18 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2016-07-24 12:31:09 +0200 |
commit | 0593f7d066f8bad245cdb581ea645d75cd352e25 (patch) | |
tree | dc52e5877f9f0872b0240e99a8276124e7c2cfd2 /src | |
parent | 6a5af9aeac60913a26ee0fe76d26158296ccf070 (diff) |
Fix typos
Diffstat (limited to 'src')
-rw-r--r-- | src/anetz/dsp.c | 4 | ||||
-rw-r--r-- | src/bnetz/dsp.c | 4 | ||||
-rw-r--r-- | src/common/call.c | 2 | ||||
-rw-r--r-- | src/common/mncc_sock.c | 4 | ||||
-rw-r--r-- | src/nmt/nmt.c | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/anetz/dsp.c b/src/anetz/dsp.c index 60d4118..1248020 100644 --- a/src/anetz/dsp.c +++ b/src/anetz/dsp.c @@ -42,7 +42,7 @@ #define CHUNK_DURATION 0.010 /* 10 ms */ // FIXME: how long until we detect a tone? -#define TONE_DETECT_TH 8 /* chunk intervals to detect continous tone */ +#define TONE_DETECT_TH 8 /* chunk intervals to detect continuous tone */ /* carrier loss detection */ #define LOSS_INTERVAL 100 /* filter steps (chunk durations) for one second interval */ @@ -152,7 +152,7 @@ static void fsk_receive_tone(anetz_t *anetz, int tone, int goodtone, double leve if (anetz->tone_count >= TONE_DETECT_TH) audio_reset_loss(&anetz->sender.loss); if (anetz->tone_count == TONE_DETECT_TH) { - PDEBUG(DDSP, DEBUG_INFO, "Detecting continous %.0f Hz tone. (level = %d%%)\n", fsk_tones[anetz->tone_detected], (int)(level * 100.0 + 0.5)); + PDEBUG(DDSP, DEBUG_INFO, "Detecting continuous %.0f Hz tone. (level = %d%%)\n", fsk_tones[anetz->tone_detected], (int)(level * 100.0 + 0.5)); anetz_receive_tone(anetz, anetz->tone_detected); } } diff --git a/src/bnetz/dsp.c b/src/bnetz/dsp.c index e86af6d..fb7a90d 100644 --- a/src/bnetz/dsp.c +++ b/src/bnetz/dsp.c @@ -38,7 +38,7 @@ #define FILTER_STEP 0.001 /* step every 1 ms */ #define METERING_HZ 2900 /* metering pulse frequency */ -#define TONE_DETECT_TH 70 /* 70 milliseconds to detect continous tone */ +#define TONE_DETECT_TH 70 /* 70 milliseconds to detect continuous tone */ /* carrier loss detection */ #define LOSS_INTERVAL 1000 /* filter steps (milliseconds) for one second interval */ @@ -156,7 +156,7 @@ static void fsk_receive_tone(bnetz_t *bnetz, int bit, int goodtone, double level if (bnetz->tone_count >= TONE_DETECT_TH) audio_reset_loss(&bnetz->sender.loss); if (bnetz->tone_count == TONE_DETECT_TH) { - PDEBUG(DDSP, DEBUG_INFO, "Detecting continous tone: %.0f:Level=%3.0f%% Quality=%3.0f%%\n", fsk_bits[bnetz->tone_detected], level * 100.0, quality * 100.0); + PDEBUG(DDSP, DEBUG_INFO, "Detecting continuous tone: %.0f:Level=%3.0f%% Quality=%3.0f%%\n", fsk_bits[bnetz->tone_detected], level * 100.0, quality * 100.0); bnetz_receive_tone(bnetz, bnetz->tone_detected); } } diff --git a/src/common/call.c b/src/common/call.c index 0abb7f6..b877dc5 100644 --- a/src/common/call.c +++ b/src/common/call.c @@ -644,7 +644,7 @@ int call_in_setup(int callref, const char *callerid, const char *dialing) if (!strcmp(dialing, "0")) dialing = "operator"; - PDEBUG(DCALL, DEBUG_INFO, "Incomming call from '%s' to '%s'\n", callerid, dialing); + PDEBUG(DCALL, DEBUG_INFO, "Incoming call from '%s' to '%s'\n", callerid, dialing); if (use_mncc_sock) { uint8_t buf[sizeof(struct gsm_mncc)]; diff --git a/src/common/mncc_sock.c b/src/common/mncc_sock.c index 7c0b84f..1a2c5ae 100644 --- a/src/common/mncc_sock.c +++ b/src/common/mncc_sock.c @@ -114,12 +114,12 @@ static int mncc_accept(void) if (rc < 0) { if (errno == EWOULDBLOCK) return 0; - PDEBUG(DMNCC, DEBUG_ERROR, "Failed to accept incomming connection (errno=%d).\n", errno); + PDEBUG(DMNCC, DEBUG_ERROR, "Failed to accept incoming connection (errno=%d).\n", errno); return rc; } if (mncc_sock > 0) { - PDEBUG(DMNCC, DEBUG_NOTICE, "Rejecting multiple incomming connections.\n"); + PDEBUG(DMNCC, DEBUG_NOTICE, "Rejecting multiple incoming connections.\n"); close(rc); return -EIO; } diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c index ec56c49..fd82515 100644 --- a/src/nmt/nmt.c +++ b/src/nmt/nmt.c @@ -1078,7 +1078,7 @@ static void rx_mt_autoanswer(nmt_t *nmt, frame_t *frame) break; if ((frame->line_signal & 0xf) != 12) break; - PDEBUG(DNMT, DEBUG_INFO, "Received acknowlege to autoanswer.\n"); + PDEBUG(DNMT, DEBUG_INFO, "Received acknowledge to autoanswer.\n"); nmt_new_state(nmt, STATE_MT_COMPLETE); nmt->tx_frame_count = 0; call_in_answer(nmt->sender.callref, &nmt->subscriber.country); |