summaryrefslogtreecommitdiff
path: root/code/fe310/eos/timer.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-02-19 06:47:43 +0100
committerUros Majstorovic <majstor@majstor.org>2020-02-19 06:47:43 +0100
commit6666a131ab36b1d96a854da80524d860f9a3884b (patch)
tree5039423cb8c5592c20f8dd3aec417158ac058484 /code/fe310/eos/timer.h
parent15bddabc5cbe0e751fadcaaa7f7c7c36bca61331 (diff)
eve long press/double tap/inertial scroll
spi flush bugfix resolved dependecies: spi -> net; event -> net renamed various handlers
Diffstat (limited to 'code/fe310/eos/timer.h')
-rw-r--r--code/fe310/eos/timer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/code/fe310/eos/timer.h b/code/fe310/eos/timer.h
index 52efc30..edf422d 100644
--- a/code/fe310/eos/timer.h
+++ b/code/fe310/eos/timer.h
@@ -6,11 +6,10 @@
#define EOS_TIMER_MAX_ETYPE 4
-typedef void (*eos_timer_fptr_t) (unsigned char);
+typedef void (*eos_timer_handler_t) (unsigned char);
void eos_timer_init(void);
-void eos_timer_set_handler(unsigned char evt, eos_timer_fptr_t handler, uint8_t flags);
-void eos_timer_set_hflags(unsigned char evt, uint8_t flags);
+void eos_timer_set_handler(unsigned char evt, eos_timer_handler_t handler);
uint64_t eos_timer_get(unsigned char evt);
void eos_timer_set(uint32_t msec, unsigned char evt, unsigned char b);