aboutsummaryrefslogtreecommitdiffstats
path: root/lib/decoding
diff options
context:
space:
mode:
authorRoman Khassraf <roman@khassraf.at>2015-06-02 13:23:15 +0200
committerRoman Khassraf <roman@khassraf.at>2015-06-02 13:23:15 +0200
commit67089d6dd335fcc8abfb7454d9519eb6eb29acbc (patch)
tree584170d514c5f50872f2d3955d60e4e2044af408 /lib/decoding
parente159333f8f6c2de7ef42e4f86f3a9bf3c7f527aa (diff)
Removed check for tail bits, as it may lead to false discarding of frames
Diffstat (limited to 'lib/decoding')
-rw-r--r--lib/decoding/tch_f_decoder_impl.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/decoding/tch_f_decoder_impl.cc b/lib/decoding/tch_f_decoder_impl.cc
index c989151..12163c9 100644
--- a/lib/decoding/tch_f_decoder_impl.cc
+++ b/lib/decoding/tch_f_decoder_impl.cc
@@ -174,14 +174,9 @@ namespace gr {
// 3.1.2.1
// check parity of class 1A
unsigned sentParity = (~mTCHU.peekField(91, 3)) & 0x07;
- //unsigned calcParity = mTCHD.head(50).parity(mTCHParity) & 0x07;
unsigned calcParity = mClass1A_d.parity(mTCHParity) & 0x07;
- // 3.1.2.2
- // Check the tail bits, too.
- unsigned tail = mTCHU.peekField(185, 4);
-
- bool good = (sentParity == calcParity) && (tail == 0);
+ bool good = (sentParity == calcParity);
if (good)
{