Skip to content

Commit

Permalink
Include periphery version in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kantlivelong committed Apr 27, 2021
1 parent 2f873f9 commit e0612ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions octoprint_psucontrol/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ def cleanup_gpio(self):


def configure_gpio(self):
self._logger.info("Periphery version: {}".format(periphery.version))

if self.config['switchingMethod'] == 'GPIO':
self._logger.info("Using GPIO for On/Off")
self._logger.info("Configuring GPIO for pin {}".format(self.config['onoffGPIOPin']))
Expand Down

0 comments on commit e0612ce

Please sign in to comment.