mirror of
git://soft.sys114.com/WiringPi2-Python
synced 2026-02-04 18:20:36 +09:00
Fixed ReadReg8 to call correct underlying method
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user