summaryrefslogtreecommitdiff
path: root/kvmd/aiogp.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-10-03 03:34:55 +0300
committerDevaev Maxim <[email protected]>2020-10-03 05:02:14 +0300
commitcccf44655aadc80d2d535033951e7af9ac65a271 (patch)
tree1ea9607e91e0189a0d73e87bed39b14c29213585 /kvmd/aiogp.py
parent872145590a3227b799ae7f5e7731dfc15967d63c (diff)
common env variables
Diffstat (limited to 'kvmd/aiogp.py')
-rw-r--r--kvmd/aiogp.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/kvmd/aiogp.py b/kvmd/aiogp.py
index aa7c2778..d4652d53 100644
--- a/kvmd/aiogp.py
+++ b/kvmd/aiogp.py
@@ -20,7 +20,6 @@
# ========================================================================== #
-import os
import asyncio
import asyncio.queues
import threading
@@ -36,12 +35,6 @@ from . import aiotools
# =====
-# XXX: Do not use this variable for any purpose other than testing.
-# It can be removed at any time.
-DEVICE_PATH = os.getenv("KVMD_GPIO_DEVICE_PATH", "/dev/gpiochip0")
-
-
-# =====
async def pulse(line: gpiod.Line, delay: float, final: float) -> None:
try:
line.set_value(1)