aboutsummaryrefslogtreecommitdiffstats
path: root/src/anetz
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2016-07-24 12:28:18 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2016-07-24 12:31:09 +0200
commit0593f7d066f8bad245cdb581ea645d75cd352e25 (patch)
treedc52e5877f9f0872b0240e99a8276124e7c2cfd2 /src/anetz
parent6a5af9aeac60913a26ee0fe76d26158296ccf070 (diff)
Fix typos
Diffstat (limited to 'src/anetz')
-rw-r--r--src/anetz/dsp.c4
1 files changed, 2 insertions, 2 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);
}
}