From be1d6986715942da34404cb14313cad9d67f5650 Mon Sep 17 00:00:00 2001 From: MrBungle42 Date: Sun, 16 Jul 2017 13:39:29 -0400 Subject: [PATCH] Update ambe_bridge.py Add context for variable --- dmr_utils/ambe_bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmr_utils/ambe_bridge.py b/dmr_utils/ambe_bridge.py index f96f6a4..6690ea7 100755 --- a/dmr_utils/ambe_bridge.py +++ b/dmr_utils/ambe_bridge.py @@ -550,7 +550,7 @@ class AMBE_IPSC(AMBE_BASE): ambe49_3 = BitArray('0x' + ahex(_ambe[14:21]))[0:50] ambe = ambe49_1 + ambe49_2 + ambe49_3 - _frame = _tempVoice[_rx_slot.vf][:33] + ambe.tobytes() + self._tempVoice[_rx_slot.vf][52:] # Insert the 3 49 bit AMBE frames + _frame = self._tempVoice[_rx_slot.vf][:33] + ambe.tobytes() + self._tempVoice[_rx_slot.vf][52:] # Insert the 3 49 bit AMBE frames self.rewriteFrame(_frame, _rx_slot.slot, _rx_slot.dst_id, _rx_slot.rf_src, _rx_slot.repeater_id) _rx_slot.vf = (_rx_slot.vf + 1) % 6 # the voice frame counter which is always mod 6 pass