summaryrefslogtreecommitdiff
path: root/code/ecp
diff options
context:
space:
mode:
Diffstat (limited to 'code/ecp')
-rw-r--r--code/ecp/fe310/transport.c2
1 files changed, 1 insertions, 1 deletions
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;