Revert "Revert the ability to activate the same TG on two slots (why would you want to?)"

This reverts commit b19a5be6b0.
This commit is contained in:
Simon 2020-12-06 13:18:10 +00:00
parent b19a5be6b0
commit 79e75ccd79

View File

@ -1061,7 +1061,8 @@ 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,_noOBP):
for _target in BRIDGES[_bridge]:
if _target['SYSTEM'] != self._system and (_target['ACTIVE']):
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']]