Missing import for bytes_4

This commit is contained in:
Simon 2021-03-28 11:29:30 +01:00
parent 0fa46e666f
commit 18cf1203e0
2 changed files with 2 additions and 13 deletions

View File

@ -1254,18 +1254,7 @@ class routerOBP(OPENBRIDGE):
else:
# Loop Control
#if 'LOOPHOLD' in self.STATUS[_stream_id]:
#if self.STATUS[_stream_id]['LOOPHOLD'] < 5:
#logger.debug ('(%s) Avoid packet due to loophold: %s',self._system,self.STATUS[_stream_id]['LOOPHOLD'])
#self.STATUS[_stream_id]['LOOPHOLD'] = self.STATUS[_stream_id]['LOOPHOLD'] + 1
#else:
#try:
#self.STATUS.pop('LOOPHOLD')
#except:
#pass
#return
for system in systems:
if system == self._system:
continue

View File

@ -32,7 +32,7 @@ from twisted.internet import reactor, task
# Things we import from the main hblink module
from hblink import HBSYSTEM, systems, hblink_handler, reportFactory, REPORT_OPCODES, config_reports, mk_aliases
from dmr_utils3.utils import bytes_3, int_id, get_alias
from dmr_utils3.utils import bytes_3, bytes_4, int_id, get_alias
from dmr_utils3 import decode, bptc, const
import config
import log