wacom: remove the Spark's 0xb3 opcode from register_connection

This is handled in the subclass now
This commit is contained in:
Peter Hutterer 2018-02-08 12:27:25 +10:00
parent d62a97a8cd
commit 82e7dbf515
1 changed files with 1 additions and 4 deletions

View File

@ -516,10 +516,7 @@ class WacomProtocol(GObject.Object):
self.register_connection() self.register_connection()
logger.info('Press the button now to confirm') logger.info('Press the button now to confirm')
self.emit('button-press-required') self.emit('button-press-required')
data = self.wait_nordic_data([0xe4, 0xb3], 10) self.wait_nordic_data(0xe4, 10)
if data.opcode == 0xb3:
# generic ACK
self.check_ack(data)
self.set_time() self.set_time()
self.read_time() self.read_time()
self.ec_command() self.ec_command()