From 0bcbb62eb408e6fcbfe78fbc2756dfb1b9ae6a37 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 6 Dec 2019 20:04:08 +0100 Subject: net refactor: alloc reverted to take void arg; EOS_NET_FLAGs renamed --- code/ecp/fe310/time.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'code/ecp/fe310/time.c') diff --git a/code/ecp/fe310/time.c b/code/ecp/fe310/time.c index dee4285..a5c109d 100644 --- a/code/ecp/fe310/time.c +++ b/code/ecp/fe310/time.c @@ -2,6 +2,7 @@ #include #include +#include #include #include @@ -18,7 +19,7 @@ static void timer_handler(unsigned char type) { } int ecp_tm_init(ECPContext *ctx) { - eos_timer_set_handler(EOS_TIMER_ETYPE_ECP, timer_handler, EOS_EVT_FLAG_NET_BUF_ACQ); + eos_timer_set_handler(EOS_TIMER_ETYPE_ECP, timer_handler, EOS_NET_FLAG_BACQ); return ECP_OK; } -- cgit v1.2.3