From 82e7dbf5155c1013a96611eb00e0a9631b6a55b9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Feb 2018 12:27:25 +1000 Subject: [PATCH] wacom: remove the Spark's 0xb3 opcode from register_connection This is handled in the subclass now --- tuhi/wacom.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tuhi/wacom.py b/tuhi/wacom.py index 41bc203..9044b73 100644 --- a/tuhi/wacom.py +++ b/tuhi/wacom.py @@ -516,10 +516,7 @@ class WacomProtocol(GObject.Object): self.register_connection() logger.info('Press the button now to confirm') self.emit('button-press-required') - data = self.wait_nordic_data([0xe4, 0xb3], 10) - if data.opcode == 0xb3: - # generic ACK - self.check_ack(data) + self.wait_nordic_data(0xe4, 10) self.set_time() self.read_time() self.ec_command()