tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit ec3a97d6104ea69cc2078bc37e7ba561630d7120
parent df3c933b4789e56681e535683c8e2f8a98e6b732
Author: rbckman <rob@tarina.org>
Date:   Mon, 16 Nov 2020 20:42:18 +0000

damn

Diffstat:
Mtarina.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -65,7 +65,7 @@ except: #MAIN def main(): - global tarinafolder, screen, loadfilmsettings, debianversion, i2cbuttons + global tarinafolder, screen, loadfilmsettings # Get path of the current dir, then use it as working directory: rundir = os.path.dirname(__file__) if rundir != '': @@ -2495,7 +2495,7 @@ def waitforanykey(): event = val.name elif val: event = val - if i2cbuttons == False: + if i2cbuttons == True: readbus = bus.read_byte_data(DEVICE,GPIOB) readbus2 = bus.read_byte_data(DEVICE,GPIOA) else: @@ -2518,7 +2518,7 @@ def getbutton(lastbutton, buttonpressed, buttontime, holdbutton): else: event = '' keydelay = 0.08 - if i2cbuttons == False: + if i2cbuttons == True: readbus = bus.read_byte_data(DEVICE,GPIOB) readbus2 = bus.read_byte_data(DEVICE,GPIOA) else: