diff options
| author | Selene ToyKeeper | 2018-11-11 16:03:07 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-11-11 16:03:07 -0700 |
| commit | 453199bfab1b9c431ce07b5b32aabdd115dcd6e6 (patch) | |
| tree | 887ae42c14220314ffb91d76d635a7775434eb01 /spaghetti-monster/momentary | |
| parent | Updated the documentation to reflect recent changes to the event system. (diff) | |
| download | anduril-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.c | 2 |
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; |
