commit | f388d58fbdb5fa308fd69e6b32936e3c76c0481b | [log] [tgz] |
---|---|---|
author | Philip Howard <phil@gadgetoid.com> | Wed Dec 11 14:37:16 2013 +0000 |
committer | Philip Howard <phil@gadgetoid.com> | Wed Dec 11 14:37:16 2013 +0000 |
tree | bd67dcd4a5100232a07fba87e9df2535c6bdefc8 | |
parent | 4e1f4b7f33d733355617bd618e39d219f69e2cbb [diff] [blame] |
Fixed ReadReg8 to use correct underlying method
diff --git a/wiringpi2-class.py b/wiringpi2-class.py index d178599..74ca602 100644 --- a/wiringpi2-class.py +++ b/wiringpi2-class.py
@@ -34,7 +34,7 @@ def read(self,*args): return wiringPiI2CRead(*args) def readReg8(self,*args): - return wiringPiI2CRead(*args) + return wiringPiI2CReadReg8(*args) def readReg16(self,*args): return wiringPiI2CReadReg16(*args) def write(self,*args):