aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/momentary
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-11 16:03:07 -0700
committerSelene ToyKeeper2018-11-11 16:03:07 -0700
commit453199bfab1b9c431ce07b5b32aabdd115dcd6e6 (patch)
tree887ae42c14220314ffb91d76d635a7775434eb01 /spaghetti-monster/momentary
parentUpdated the documentation to reflect recent changes to the event system. (diff)
downloadanduril-453199bfab1b9c431ce07b5b32aabdd115dcd6e6.tar.gz
anduril-453199bfab1b9c431ce07b5b32aabdd115dcd6e6.tar.bz2
anduril-453199bfab1b9c431ce07b5b32aabdd115dcd6e6.zip
Updated most of the UIs to use the new event API.
Diffstat (limited to 'spaghetti-monster/momentary')
-rw-r--r--spaghetti-monster/momentary/momentary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/momentary/momentary.c b/spaghetti-monster/momentary/momentary.c
index d4ac1db..0372b3d 100644
--- a/spaghetti-monster/momentary/momentary.c
+++ b/spaghetti-monster/momentary/momentary.c
@@ -40,7 +40,7 @@ void light_off() {
PWM2_LVL = 0;
}
-uint8_t momentary_state(EventPtr event, uint16_t arg) {
+uint8_t momentary_state(Event event, uint16_t arg) {
if (event == EV_click1_press) {
brightness = 255;