wacom: strip out first char of firmwares

The first char is the request, so it should be filtered out to match the
display of Inkspace
This commit is contained in:
Benjamin Tissoires 2018-01-30 14:53:17 +01:00 committed by Peter Hutterer
parent ffd052921a
commit 2c8c517c71
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ class WacomDevice(GObject.Object):
data = self.send_nordic_command_sync(command=0xb7, data = self.send_nordic_command_sync(command=0xb7,
expected_opcode=0xb8, expected_opcode=0xb8,
arguments=(arg,)) arguments=(arg,))
fw = ''.join([hex(d)[2:] for d in data]) fw = ''.join([hex(d)[2:] for d in data[1:]])
return fw.upper() return fw.upper()
def bb_command(self): def bb_command(self):