From 37a18889be8efa08c9e054014ca7058768b51a61 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 30 Aug 2019 13:38:17 +0200 Subject: event flags cleanup; added user event type --- code/fe310/eos/ecp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/fe310/eos/ecp.c') diff --git a/code/fe310/eos/ecp.c b/code/fe310/eos/ecp.c index 06a3fc3..9297ccd 100644 --- a/code/fe310/eos/ecp.c +++ b/code/fe310/eos/ecp.c @@ -59,7 +59,7 @@ int ecp_init(ECPContext *ctx) { rv = ecp_ctx_create_vconn(ctx); if (rv) return rv; - eos_evtq_set_handler(EOS_EVT_TIMER, timer_handler, EOS_EVT_FLAG_WRAP); + eos_evtq_set_handler(EOS_EVT_TIMER, timer_handler, EOS_EVT_FLAG_NET_BUF_ACQ); eos_net_set_handler(EOS_NET_CMD_PKT, packet_handler, 0); return ECP_OK; } -- cgit v1.2.3