summaryrefslogtreecommitdiff
path: root/wasp/apps
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-18 14:34:49 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-26 14:01:48 (GMT)
commit9348e758b20a84502baabe46e400dee1811fdd4c (patch)
treeb2b87804396b8fa2749842847f525d49b23dab7c /wasp/apps
parent5b277e94f11474e3c34f943ee63b9155e96777e2 (diff)
wasp: nrf_rtc: Add a tiny bit of extra resolution
We now have a couple of applications (stopwatch, Game of Life) that benefit from sub-second precision. The micropython RTC/utime code for nrf still needs a major overhaul but this allows us to paper over the cracks for just a little longer.
Diffstat (limited to 'wasp/apps')
-rw-r--r--wasp/apps/gameoflife.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wasp/apps/gameoflife.py b/wasp/apps/gameoflife.py
index 95883c6..080c214 100644
--- a/wasp/apps/gameoflife.py
+++ b/wasp/apps/gameoflife.py
@@ -163,7 +163,7 @@ class GameOfLifeApp():
"""Activate the application."""
self._draw()
wasp.system.request_event(wasp.EventMask.TOUCH)
- wasp.system.request_tick(1000)
+ wasp.system.request_tick(625)
def tick(self, ticks):
"""Notify the application that its periodic tick is due."""