Merge pull request #2 from MrBungle42/patch-2

Update ambe_bridge.py
This commit is contained in:
Cort Buffington 2017-07-13 13:34:33 -05:00 committed by GitHub
commit f6b4a7ff7a

View File

@ -636,7 +636,7 @@ class AMBE_IPSC(AMBE_BASE):
_t.close()
except IOError:
self._logger.error('Can not open template.bin file')
return
exit()
self._logger.debug('IPSC templates loaded')
def export_voice(self, _tx_slot, _seq, _ambe):
self.send_tlv(TAG_AMBE_49, struct.pack("b",_tx_slot.slot) + _ambe) # send AMBE