wacom: merge two debug strings
This commit is contained in:
parent
422045e2fd
commit
45d4d6fb9b
|
@ -546,8 +546,7 @@ class WacomProtocolBase(WacomProtocolLowLevelComm):
|
||||||
bitmask = data[offset]
|
bitmask = data[offset]
|
||||||
opcode = 0
|
opcode = 0
|
||||||
offset += 1
|
offset += 1
|
||||||
debug_data.append(f'{bitmask:02x} ({bitmask:08b})')
|
debug_data.append(f'{bitmask:02x} ({bitmask:08b}) |')
|
||||||
debug_data.append('|')
|
|
||||||
args_length = bin(bitmask).count('1')
|
args_length = bin(bitmask).count('1')
|
||||||
args = data[offset:offset + args_length]
|
args = data[offset:offset + args_length]
|
||||||
formatted_args = []
|
formatted_args = []
|
||||||
|
|
Loading…
Reference in New Issue