aboutsummaryrefslogtreecommitdiff
path: root/RoundTable/momentary.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-19 12:11:04 -0600
committerSelene ToyKeeper2017-08-19 12:11:04 -0600
commit34191743a11e5039c6d465eb89c708f890f4050c (patch)
treee9e10298bf04a4b971f72dac685c9d10726a8002 /RoundTable/momentary.c
parentMade LVP work. (diff)
downloadanduril-34191743a11e5039c6d465eb89c708f890f4050c.tar.gz
anduril-34191743a11e5039c6d465eb89c708f890f4050c.tar.bz2
anduril-34191743a11e5039c6d465eb89c708f890f4050c.zip
Added missing GPL header, fixed typo, fixed missing return.
Diffstat (limited to '')
-rw-r--r--RoundTable/momentary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/RoundTable/momentary.c b/RoundTable/momentary.c
index a40363a..fcf0780 100644
--- a/RoundTable/momentary.c
+++ b/RoundTable/momentary.c
@@ -1,7 +1,7 @@
/*
* Momentary: Very simple example UI for RoundTable.
* Is intended to be the simplest possible RT e-switch UI.
- * The light is in while the button is held; off otherwise.
+ * The light is on while the button is held; off otherwise.
*
* Copyright (C) 2017 Selene ToyKeeper
*
@@ -59,6 +59,7 @@ uint8_t momentary_state(EventPtr event, uint16_t arg) {
else if (event == EV_debug) {
//PWM1_LVL = arg&0xff;
DEBUG_FLASH;
+ return 0;
}
// event not handled