diff --git a/pycrate_core/utils_py2.py b/pycrate_core/utils_py2.py index ea8dfc1..6ade355 100644 --- a/pycrate_core/utils_py2.py +++ b/pycrate_core/utils_py2.py @@ -1366,7 +1366,7 @@ def bytes_to_uint_le(buf, bitlen=1): Args: buf (bytes) : bytes string - bitlen (integer) : length in bits + bitlen (integer) : length in bits, must be a multiple of 8 Returns: uint (integer) : unsigned integer value @@ -1400,7 +1400,7 @@ def uint_le_to_bytes(val, bitlen=1): Args: val (integer) : unsigned integer - bitlen (integer) : length in bits + bitlen (integer) : length in bits, must be a multiple of 8 Returns: buf (bytes) : bytes string @@ -1990,7 +1990,7 @@ def pack_val(*val): u = v[1]+(1<