Fixed ReadReg8 to call correct underlying method

pull/12/head
Philip Howard 12 years ago
parent e1a81e18a4
commit 4e1f4b7f33

@ -554,7 +554,7 @@ class I2C(object):
def read(self,*args): def read(self,*args):
return wiringPiI2CRead(*args) return wiringPiI2CRead(*args)
def readReg8(self,*args): def readReg8(self,*args):
return wiringPiI2CRead(*args) return wiringPiI2CReadReg8(*args)
def readReg16(self,*args): def readReg16(self,*args):
return wiringPiI2CReadReg16(*args) return wiringPiI2CReadReg16(*args)
def write(self,*args): def write(self,*args):

Loading…
Cancel
Save