summaryrefslogtreecommitdiff
path: root/wasp/apps/flashlight.py
diff options
context:
space:
mode:
Diffstat (limited to 'wasp/apps/flashlight.py')
-rw-r--r--wasp/apps/flashlight.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/wasp/apps/flashlight.py b/wasp/apps/flashlight.py
index c6c4726..13e3443 100644
--- a/wasp/apps/flashlight.py
+++ b/wasp/apps/flashlight.py
@@ -11,7 +11,6 @@ class FlashlightApp(object):
def foreground(self):
"""Activate the application."""
- self.on_screen = ( -1, -1, -1, -1, -1, -1 )
self.draw()
wasp.system.request_tick(1000)
@@ -22,13 +21,9 @@ class FlashlightApp(object):
"""De-activate the application (without losing state)."""
wasp.system.brightness = self._brightness
- def sleep(self):
- return False
-
def tick(self, ticks):
wasp.system.keep_awake()
def draw(self):
"""Redraw the display from scratch."""
- display = wasp.watch.display
- display.fill(0xffff)
+ wasp.watch.display.fill(0xffff)