aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/momentary/momentary.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-11 16:20:36 -0700
committerSelene ToyKeeper2018-11-11 16:20:36 -0700
commit4328934ed1ce704a44fef3e58d1c7090fe7aaf38 (patch)
tree7f836bb7e8f6e8aabdceee3a86ac33d3f1531bac /spaghetti-monster/momentary/momentary.c
parentcalibrated Sofirn SP36 config (diff)
parentUpdated RampingIOS V3 to new event API. Applied recent changes from Anduril ... (diff)
downloadanduril-4328934ed1ce704a44fef3e58d1c7090fe7aaf38.tar.gz
anduril-4328934ed1ce704a44fef3e58d1c7090fe7aaf38.tar.bz2
anduril-4328934ed1ce704a44fef3e58d1c7090fe7aaf38.zip
merged event-rework branch; reduces ROM size by ~700 bytes and simplifies event system
Diffstat (limited to 'spaghetti-monster/momentary/momentary.c')
-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;