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;
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.