From d5fe860ad42d69100f6f62f15d7c45edad1809c5 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sat, 7 Dec 2019 17:19:27 +0100 Subject: sync with prev code refactor --- code/ecp/fe310/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/ecp/fe310') diff --git a/code/ecp/fe310/transport.c b/code/ecp/fe310/transport.c index 6da5139..defea5d 100644 --- a/code/ecp/fe310/transport.c +++ b/code/ecp/fe310/transport.c @@ -10,7 +10,7 @@ static unsigned char _flags = 0; ECPSocket *_ecp_tr_sock = NULL; -static void packet_handler(unsigned char *buffer, uint16_t len) { +static void packet_handler(unsigned char type, unsigned char *buffer, uint16_t len) { ECPNetAddr addr; ECP2Buffer bufs; -- cgit v1.2.3