Skip to content

Commit

Permalink
fix interrupt bug from #108
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyIvan359 committed Jan 22, 2021
1 parent a8f02da commit 16e4aa2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Development

* **Fixed**
* Bug introduced in [#108](https://github.com/CrazyIvan359/mqttany/pull/108) causing
interrupts to not work on kernels <5.5.

## 0.14.0

* **Added**
Expand Down
4 changes: 2 additions & 2 deletions mqttany/gpio/pins/digital.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def _setup_cdev(self) -> bool:
f"/dev/gpiochip{self.chip}",
self.line,
periphery_PinMode[self.mode],
edge="none" if not common.cdev_bias else periphery_PinEdge[self.edge],
bias=periphery_PinBias[self.bias],
edge=periphery_PinEdge[self.edge],
bias="none" if not common.cdev_bias else periphery_PinBias[self.bias],
label="MQTTany",
)
except GPIOError as err:
Expand Down

0 comments on commit 16e4aa2

Please sign in to comment.