From 49e9cf81eccce9a54c222175504131bfa338d40d Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Tue, 16 May 2017 12:34:44 +0200 Subject: [PATCH] remap pins for paper size --- screenless/bureau/photography/photography.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenless/bureau/photography/photography.py b/screenless/bureau/photography/photography.py index 9ef87c7..1803802 100644 --- a/screenless/bureau/photography/photography.py +++ b/screenless/bureau/photography/photography.py @@ -50,12 +50,12 @@ class Photography(Bureau): # set pins and pullups for switches gpio.setcfg(self.landscape_pin, gpio.INPUT) gpio.pullup(self.landscape_pin, gpio.PULLUP) - gpio.setcfg(self.a3_pin, gpio.INPUT) - gpio.pullup(self.a3_pin, gpio.PULLUP) gpio.setcfg(self.a4_pin, gpio.INPUT) gpio.pullup(self.a4_pin, gpio.PULLUP) gpio.setcfg(self.a5_pin, gpio.INPUT) gpio.pullup(self.a5_pin, gpio.PULLUP) + gpio.setcfg(self.a6_pin, gpio.INPUT) + gpio.pullup(self.a6_pin, gpio.PULLUP) # make sure tmp dir exists tmpdir = "/tmp/webcam"