1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 02:14:26 +01:00

doorstate: Use variable instead of constant value

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
This commit is contained in:
Ralf Ramsauer 2019-06-14 23:56:56 +02:00
parent caab43f4d3
commit 6fc923a371

View File

@ -12,7 +12,7 @@ if [ "$(id -u)" != "0" ]; then
fi
while true; do
gpio-wait /dev/gpiochip0 22
gpio-wait /dev/gpiochip0 $GPIO
ret=$?
if [ $ret -eq 0 ]; then