Skip to content

Commit d1a530f

Browse files
author
Thomas Preston
committed
Fixed error with . Fixes issue #14.
1 parent f4558dc commit d1a530f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Change Log
22
==========
33

4+
v0.6.1
5+
------
6+
- Fixed error with `set_pullup`. Fixes issue #14.
7+
48
v0.6.0
59
------
610
- Added UART support.

codebug_tether/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def set_pullup(self, input_index, state):
9898
9999
"""
100100
input_index = self._int_input_index(input_index)
101-
self.set_bit(CHANNEL_INDEX_PULLUPS, input_index, direction)
101+
self.set_bit(CHANNEL_INDEX_PULLUPS, input_index, state)
102102

103103
def set_output(self, output_index, state):
104104
"""Sets the output index to state."""

codebug_tether/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.6.0'
1+
__version__ = '0.6.1'

0 commit comments

Comments
 (0)