From dd830a1463376bd23b20586ac30bf95d3b78438a Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 3 Jul 2022 16:13:44 -0400 Subject: [PATCH] poss. fix for tailing audio artifact p25p2 --- op25/gr-op25_repeater/lib/p25p2_tdma.cc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/op25/gr-op25_repeater/lib/p25p2_tdma.cc b/op25/gr-op25_repeater/lib/p25p2_tdma.cc index 0d2b3eb..18c04e6 100644 --- a/op25/gr-op25_repeater/lib/p25p2_tdma.cc +++ b/op25/gr-op25_repeater/lib/p25p2_tdma.cc @@ -386,6 +386,15 @@ int p25p2_tdma::handle_frame(void) return rc; } +static inline bool null_codeword(const uint8_t*bp) { + static const int l = 36; // dibits per voice frame + for (int i=0; i