File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ def readU16(self, reg):
124
124
print "I2C: Device 0x%02X returned 0x%04X from reg 0x%02X" % (self .address , result & 0xFFFF , reg )
125
125
return result
126
126
except IOError , err :
127
- return self .errMsg ();
127
+ return self .errMsg ()
128
128
129
129
def readS16 (self , reg ):
130
130
"Reads a signed 16-bit value from the I2C device"
@@ -136,7 +136,7 @@ def readS16(self, reg):
136
136
print "I2C: Device 0x%02X returned 0x%04X from reg 0x%02X" % (self .address , result & 0xFFFF , reg )
137
137
return result
138
138
except IOError , err :
139
- return self .errMsg ();
139
+ return self .errMsg ()
140
140
141
141
def readU16Rev (self , reg ):
142
142
"Reads an unsigned 16-bit value from the I2C device with rev byte order"
@@ -148,7 +148,7 @@ def readU16Rev(self, reg):
148
148
print "I2C: Device 0x%02X returned 0x%04X from reg 0x%02X" % (self .address , result & 0xFFFF , reg )
149
149
return result
150
150
except IOError , err :
151
- return self .errMsg ();
151
+ return self .errMsg ()
152
152
153
153
def readS16Rev (self , reg ):
154
154
"Reads a signed 16-bit value from the I2C device with rev byte order"
@@ -160,7 +160,7 @@ def readS16Rev(self, reg):
160
160
print "I2C: Device 0x%02X returned 0x%04X from reg 0x%02X" % (self .address , result & 0xFFFF , reg )
161
161
return result
162
162
except IOError , err :
163
- return self .errMsg ();
163
+ return self .errMsg ()
164
164
165
165
if __name__ == '__main__' :
166
166
try :
You can’t perform that action at this time.
0 commit comments