summaryrefslogtreecommitdiff
path: root/code/fe310/eos/ecp.c
diff options
context:
space:
mode:
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