Skip to content

Commit 1d7f5d0

Browse files
committed
Use the "real" libgpiod
not the development version
1 parent 5ac9eac commit 1d7f5d0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ python:
33
- 3.6
44
sudo: false
55
dist: trusty
6+
addons:
7+
apt:
8+
packages:
9+
- libgpiod1
610

711
env:
812
- CHECK_DOCS=1

trio_gpio/libgpiod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@
297297
"""
298298
)
299299

300-
lib = ffi.dlopen("libgpiod.so")
300+
lib = ffi.dlopen("libgpiod.so.1")
301301

302302
DIRECTION_INPUT = lib.GPIOD_LINE_REQUEST_DIRECTION_INPUT
303303
DIRECTION_OUTPUT = lib.GPIOD_LINE_REQUEST_DIRECTION_OUTPUT

0 commit comments

Comments
 (0)