summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-10 10:40:03 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-01-10 10:40:03 (GMT)
commit637f5d6e8a76aed34c8d556c4b4f38a9e634835c (patch)
treea18d49719b426a14b1fa4066d26fe736ebd35e55 /wasp
parenta6eab3e7ffcd9f6530c54931bbba3e0f108e0dd3 (diff)
boards: simulator: Enable TestApp by default
Relaunching the simulator to run tests quickly gets frustrating if the Self Test is disabled by default. Change this. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp')
-rw-r--r--wasp/boards/simulator/main.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wasp/boards/simulator/main.py b/wasp/boards/simulator/main.py
index bd43d4e..2dbe875 100644
--- a/wasp/boards/simulator/main.py
+++ b/wasp/boards/simulator/main.py
@@ -3,6 +3,10 @@
import wasp
+# Test app is used a lot on the simulator. Let's make sure it is
+# registered by default.
+wasp.system.register('apps.testapp.TestApp')
+
# Ensure there's something interesting to look at ;-)
wasp.system.set_music_info({
'track': 'Tasteless Brass Duck',