wacom: merge two debug strings

pull/77/head
Peter Hutterer 2018-02-14 09:45:49 +10:00
parent 422045e2fd
commit 45d4d6fb9b
1 changed files with 1 additions and 2 deletions

View File

@ -546,8 +546,7 @@ class WacomProtocolBase(WacomProtocolLowLevelComm):
bitmask = data[offset]
opcode = 0
offset += 1
debug_data.append(f'{bitmask:02x} ({bitmask:08b})')
debug_data.append('|')
debug_data.append(f'{bitmask:02x} ({bitmask:08b}) |')
args_length = bin(bitmask).count('1')
args = data[offset:offset + args_length]
formatted_args = []