From e91123a2236fd9e4f1e3f6441823301edd6b0a79 Mon Sep 17 00:00:00 2001 From: klonfish Date: Mon, 26 Dec 2016 23:03:06 +0100 Subject: [PATCH] Fixed wrong function name --- wii-pair/wiiboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wii-pair/wiiboard.py b/wii-pair/wiiboard.py index 925d1c9..6f2a95e 100644 --- a/wii-pair/wiiboard.py +++ b/wii-pair/wiiboard.py @@ -231,11 +231,11 @@ class Wiiboard: def calibrate(self): msg = bytes([COMMAND_READ_REGISTER, 0x04, 0xA4, 0x00, 0x24, 0x00, 0x18]) - self.send_legacy(msg) + self.send(msg) self.calibrationRequested = True def setReportingType(self): msg = bytes([COMMAND_REPORTING, CONTINUOUS_REPORTING, EXTENSION_8BYTES]) - self.send_legacy(bytearr) + self.send(bytearr)