From 806e8566def409976b358798c4ec9df07bb3f259 Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 24 Nov 2020 11:33:11 +0000 Subject: [PATCH] Fix bug where you can't use the same TG on both slots simultaneously Well, I thought this might well be a feature, but it was an easy fix so... --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index a5002a5..652e409 100755 --- a/bridge_master.py +++ b/bridge_master.py @@ -1046,7 +1046,7 @@ class routerHBP(HBSYSTEM): def to_target(self, _peer_id, _rf_src, _dst_id, _seq, _slot, _call_type, _frame_type, _dtype_vseq, _stream_id, _data, pkt_time, dmrpkt, _bits,_bridge,_system): for _target in BRIDGES[_bridge]: - if _target['SYSTEM'] != self._system: + if _target['SYSTEM'] != self._system or (_target['SYSTEM'] == self._system and _target['TS'] != _slot): if _target['ACTIVE']: _target_status = systems[_target['SYSTEM']].STATUS _target_system = self._CONFIG['SYSTEMS'][_target['SYSTEM']]