wacom: fix the firmware version retrieval for the base protocol

Introduced in dbd60675a9
pull/146/head
Peter Hutterer 2019-07-17 18:24:42 +10:00
parent 55164043e3
commit bc612f9e0e
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ class WacomProtocolBase(WacomProtocolLowLevelComm):
logger.info(f'device battery: {battery}% ({"dis" if not charging else ""}charging)')
return battery, charging
def get_firmware_version(self, arg):
def get_firmware_version(self):
hi = self.send_nordic_command_sync(command=0xb7,
expected_opcode=0xb8,
arguments=(0,))