From 5506d89d97db87f78ab2ba4715c4248a3d49f98f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 30 Nov 2021 22:05:17 +0100 Subject: startup code uses init/run --- fw/fe310/eos/eve/eve_touch.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fw/fe310/eos/eve/eve_touch.h') 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); -- cgit v1.2.3