summaryrefslogtreecommitdiff
path: root/wasp/boards/sphinx/watch.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-25 21:08:02 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-06-25 21:08:02 (GMT)
commiteb8dfcc57c872b87001b8160146838cc7bea3fcb (patch)
tree18ee1781ed11860e8818700a82a0264bdd2264a9 /wasp/boards/sphinx/watch.py
parent95e129e331b3f66b9d2b639301f3f93766b42381 (diff)
boards: spinx: Fix the documentation generation
Currently the template app documentation will not generate. Fix that! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/boards/sphinx/watch.py')
-rw-r--r--wasp/boards/sphinx/watch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wasp/boards/sphinx/watch.py b/wasp/boards/sphinx/watch.py
index 343f47b..6ffcd5f 100644
--- a/wasp/boards/sphinx/watch.py
+++ b/wasp/boards/sphinx/watch.py
@@ -46,8 +46,13 @@ def sleep_ms(ms):
time.sleep(ms / 1000)
time.sleep_ms = sleep_ms
+class Accel():
+ def reset(self):
+ pass
+
class Pin():
def value(v=None):
pass
+accel = Accel()
button = Pin()