From 0a86db02c72a7cefa0795898ef87f981b5862860 Mon Sep 17 00:00:00 2001 From: 9and3r <9and3r@gmail.com> Date: Fri, 8 Aug 2014 13:45:37 +0200 Subject: [PATCH] GPIO --- mopidy_touchscreen/gpio_inpput_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mopidy_touchscreen/gpio_inpput_manager.py b/mopidy_touchscreen/gpio_inpput_manager.py index 6b69e20..ff38f32 100644 --- a/mopidy_touchscreen/gpio_inpput_manager.py +++ b/mopidy_touchscreen/gpio_inpput_manager.py @@ -10,7 +10,7 @@ class GPIOManager(): def __init__(self): GPIO.setmode(GPIO.BCM) GPIO.setup(24, GPIO.IN, pull_up_down = GPIO.PUD_UP) - GPIO.add_event_detect(24, GPIO.BOTH, callback=self.rigth, bouncetime=30) + GPIO.add_event_detect(24, GPIO.BOTH, callback=self.right(), bouncetime=30) def right(self, channel): dict = {}