summaryrefslogtreecommitdiff
path: root/code/fe310/eos/ecp.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-17 07:45:32 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-17 07:45:32 +0100
commit97a7e6617f8ad06b7bff495603200b853766ecc8 (patch)
tree9e8a4aaa5b3ef366c595595871db43eae2facdc2 /code/fe310/eos/ecp.c
parent01c3e3af2394f863323b846fa304ff7e0a30e9df (diff)
basic test for eos & fe310 passed
Diffstat (limited to 'code/fe310/eos/ecp.c')
-rw-r--r--code/fe310/eos/ecp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/fe310/eos/ecp.c b/code/fe310/eos/ecp.c
index 433e693..190d1f0 100644
--- a/code/fe310/eos/ecp.c
+++ b/code/fe310/eos/ecp.c
@@ -63,4 +63,8 @@ int ecp_init(ECPContext *ctx) {
eos_evtq_set_handler(EOS_EVT_MASK_NET | EOS_NET_CMD_PKT, packet_handler);
return ECP_OK;
+}
+
+void ecp_sock_set(ECPSocket *s) {
+ _sock = s;
} \ No newline at end of file