diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-11-30 22:05:17 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-30 22:05:17 +0100 |
commit | 5506d89d97db87f78ab2ba4715c4248a3d49f98f (patch) | |
tree | e4ef547d541968e552a6f521ab637084b253fa68 /fw/fe310/eos/eve/eve_touch.h | |
parent | acce7d8e05ac38776d6340342f6a7868df4f7f28 (diff) |
startup code uses init/run
Diffstat (limited to 'fw/fe310/eos/eve/eve_touch.h')
-rw-r--r-- | fw/fe310/eos/eve/eve_touch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fw/fe310/eos/eve/eve_touch.h b/fw/fe310/eos/eve/eve_touch.h index b6ca6d9..37c4013 100644 --- a/fw/fe310/eos/eve/eve_touch.h +++ b/fw/fe310/eos/eve/eve_touch.h @@ -101,8 +101,9 @@ typedef void (*eve_touch_handler_t) (EVETouch *, uint16_t, uint8_t, void *); void eve_handle_touch(void); void eve_handle_time(void); -void eve_touch_init(uint8_t wakeup_cause, int touch_calibrate, uint32_t *touch_matrix); -void eve_touch_start(uint8_t wakeup_cause); +int eve_touch_init(uint8_t wakeup_cause, int touch_calibrate, uint32_t *touch_matrix); +int eve_touch_run(uint8_t wakeup_cause); +void eve_touch_start(void); void eve_touch_stop(void); void eve_touch_set_handler(eve_touch_handler_t handler, void *handler_param); |