mirror of
https://github.com/hb9fxq/gr-digitalhf
synced 2024-12-22 15:10:00 +00:00
revert temporary fix
This commit is contained in:
parent
c3d2db12ac
commit
7f706f6134
|
@ -921,7 +921,7 @@ class PhysicalLayer(object):
|
||||||
success = np.all(b[0:3] == 0)
|
success = np.all(b[0:3] == 0)
|
||||||
b = np.flip(b)
|
b = np.flip(b)
|
||||||
self._wid = wid = np.packbits(b[0:4])[0]>>4
|
self._wid = wid = np.packbits(b[0:4])[0]>>4
|
||||||
self._intl_type = 'L'# INTERLEAVERS[np.packbits(b[4:6])[0]>>6]
|
self._intl_type = INTERLEAVERS[np.packbits(b[4:6])[0]>>6]
|
||||||
self._constraint_length = 'K=7' if b[6] == 0 else 'K=9'
|
self._constraint_length = 'K=7' if b[6] == 0 else 'K=9'
|
||||||
self._data_mode = WID_MODE[self._wid]
|
self._data_mode = WID_MODE[self._wid]
|
||||||
print('WID:', self._wid, self._intl_type, self._constraint_length,self._data_mode)
|
print('WID:', self._wid, self._intl_type, self._constraint_length,self._data_mode)
|
||||||
|
|
Loading…
Reference in a new issue