Skip to content
Snippets Groups Projects
Commit bdc54fd1 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix wrong mask

parent bcdc869b
No related branches found
No related tags found
1 merge request!40Resolve "Parsing of HRV and FIFO status words"
This commit is part of merge request !40. Comments created here will be created in the context of that merge request.
......@@ -69,7 +69,7 @@ def get_channel_flags(value):
value : int32
The integer value to be parsed.
"""
channel_bits = np.bitwise_and(value, 0x3FFFFFFF)
channel_bits = np.bitwise_and(value, 0x4FFFFFFF)
flags = unpack_bits(channel_bits, CHANNEL_BITS_TEMPLATE)
return np.flip(flags, axis=-1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment