aboutsummaryrefslogtreecommitdiffstats
path: root/src/nmt
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmt')
-rw-r--r--src/nmt/dsp.c1
-rw-r--r--src/nmt/nmt.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nmt/dsp.c b/src/nmt/dsp.c
index 64ff38d..79403b9 100644
--- a/src/nmt/dsp.c
+++ b/src/nmt/dsp.c
@@ -83,6 +83,7 @@ int dsp_init_sender(nmt_t *nmt)
int16_t *spl;
int i;
+ /* attack (3ms) and recovery time (13.5ms) according to NMT specs */
init_compander(&nmt->cstate, 8000, 3.0, 13.5);
if ((nmt->sender.samplerate % (BIT_RATE * STEPS_PER_BIT))) {
diff --git a/src/nmt/nmt.c b/src/nmt/nmt.c
index 561167e..1e8166e 100644
--- a/src/nmt/nmt.c
+++ b/src/nmt/nmt.c
@@ -441,7 +441,7 @@ static int match_area(nmt_t *nmt, frame_t *frame)
traffic_area = ((frame->area_info & 0x3) << 4) | frame->traffic_area;
if (nmt->sysinfo.traffic_area != 0 && (nmt->sysinfo.traffic_area & 0x3f) != traffic_area) {
- PDEBUG(DNMT, DEBUG_NOTICE, "Received traffic 6 bits of traffic area (0x%02x) does not match the 6 bits of base station's traffic area (0x%02x), ignoring.\n", nmt->sysinfo.traffic_area & 0x3f, traffic_area);
+ PDEBUG(DNMT, DEBUG_NOTICE, "Received 6 bits of traffic area (0x%02x) does not match the 6 bits of base station's traffic area (0x%02x), ignoring.\n", nmt->sysinfo.traffic_area & 0x3f, traffic_area);
return 0;
}
skip_area: