Browse Source

Fixed wrong function name

feature/balanceutils
klonfish 7 years ago committed by klonfish
parent
commit
e91123a223
  1. 4
      wii-pair/wiiboard.py

4
wii-pair/wiiboard.py

@ -231,11 +231,11 @@ class Wiiboard: @@ -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)

Loading…
Cancel
Save