utils.py: cosmetic: add missing new line
Change-Id: I69c335c5ac4fc209daa7fcd7e9f8d509eec289b4
This commit is contained in:
parent
9fa8e47b4c
commit
925b20e927
1
utils.py
1
utils.py
|
@ -68,6 +68,7 @@ def swap_nibbles(array):
|
||||||
rc.append(((a & 0xf0) >> 4) | ((a & 0x0f) << 4))
|
rc.append(((a & 0xf0) >> 4) | ((a & 0x0f) << 4))
|
||||||
return rc
|
return rc
|
||||||
|
|
||||||
|
|
||||||
# Convert from list of bytes to big-endian integer
|
# Convert from list of bytes to big-endian integer
|
||||||
def list_to_int(arr):
|
def list_to_int(arr):
|
||||||
return int(hexdump(arr), 16)
|
return int(hexdump(arr), 16)
|
||||||
|
|
Loading…
Reference in New Issue