From 0e0c9852803d48437f730bc8dd56aaed3f0572f7 Mon Sep 17 00:00:00 2001 From: klauswitt Date: Mon, 20 Jan 2014 22:09:24 +0000 Subject: [PATCH] $readingFnAttributes added git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4701 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/51_RPI_GPIO.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/51_RPI_GPIO.pm b/fhem/FHEM/51_RPI_GPIO.pm index a2e7658ee..5f87220ec 100644 --- a/fhem/FHEM/51_RPI_GPIO.pm +++ b/fhem/FHEM/51_RPI_GPIO.pm @@ -33,7 +33,8 @@ sub RPI_GPIO_Initialize($) { " direction:input,output pud_resistor:off,up,down" . " interrupt:none,falling,rising,both" . " toggletostate:no,yes active_low:no,yes" . - " debounce_in_ms restoreOnStartup:no,yes"; + " debounce_in_ms restoreOnStartup:no,yes " . + "$readingFnAttributes"; } my $gpiodir = "/sys/class/gpio"; #GPIO base directory