From d54d189c45305c08e5a3789a414bbc9aa8bbd537 Mon Sep 17 00:00:00 2001 From: Balthasar Reuter Date: Wed, 27 May 2015 23:36:41 +0200 Subject: [PATCH] GPIO temporarily disabled, starts now in fullscreen --- photobooth.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/photobooth.py b/photobooth.py index e4b07c4..d4b6d62 100755 --- a/photobooth.py +++ b/photobooth.py @@ -81,7 +81,7 @@ class GUI_PyGame: pygame.mouse.set_visible(False) # Store screen and size self.size = size - self.screen = pygame.display.set_mode(self.size) + self.screen = pygame.display.set_mode(self.size, pygame.FULLSCREEN) # Clear screen self.clear() @@ -246,11 +246,11 @@ def setup_gpio(): def teardown(exit_code=0): display.teardown() - GPIO.cleanup() + #GPIO.cleanup() exit(exit_code) def main(): - setup_gpio() + #setup_gpio() while True: try: display.mainloop(image_idle)