Skip to content

Commit

Permalink
Merge pull request #1 from frc3223/close
Browse files Browse the repository at this point in the history
s/free/close/
  • Loading branch information
virtuald committed Nov 9, 2018
2 parents f5688c9 + 72d9e82 commit 548b6a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion navx/registerio_i2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ def read(self, first_address, count):

def shutdown(self):
logger.info("NavX i2c shutdown")
self.port.free()
self.port.close()
return True
2 changes: 1 addition & 1 deletion navx/registerio_spi.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def read(self, first_address, count):
def shutdown(self):
# TODO: should free?
logger.info("NavX i2c shutdown")
self.port.free()
self.port.close()
return True

0 comments on commit 548b6a7

Please sign in to comment.