Skip to content

Commit

Permalink
DM: more lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
deanm1278 committed May 2, 2018
1 parent e0fad93 commit b8e712d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adafruit_seesaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def read8(self, reg_base, reg):
def read(self, reg_base, reg, buf, delay=.001):
self.write(reg_base, reg)
if self._drdy is not None:
while self._drdy.value == False:
while self._drdy.value is False:
pass
else:
time.sleep(delay)
Expand All @@ -596,7 +596,7 @@ def write(self, reg_base, reg, buf=None):
full_buffer += buf

if self._drdy is not None:
while self._drdy.value == False:
while self._drdy.value is False:
pass
with self.i2c_device as i2c:
i2c.write(full_buffer)

0 comments on commit b8e712d

Please sign in to comment.