From 34191743a11e5039c6d465eb89c708f890f4050c Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 19 Aug 2017 12:11:04 -0600 Subject: Added missing GPL header, fixed typo, fixed missing return. --- RoundTable/momentary.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'RoundTable/momentary.c') 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 -- cgit v1.2.3