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...
This commit is contained in:
Simon 2020-11-24 11:33:11 +00:00
parent 0aa3f57a08
commit 806e8566de

View File

@ -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']]