From ecefb1c0ef27ab2c763064c9c2f83cee846cd6d1 Mon Sep 17 00:00:00 2001 From: Jan Pochyla Date: Wed, 7 Jun 2017 14:35:46 +0200 Subject: [PATCH] modtrezormsg: fix 4a359d2 --- micropython/extmod/modtrezormsg/modtrezormsg-unix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/micropython/extmod/modtrezormsg/modtrezormsg-unix.h b/micropython/extmod/modtrezormsg/modtrezormsg-unix.h index 25d0e7be..2c935c87 100644 --- a/micropython/extmod/modtrezormsg/modtrezormsg-unix.h +++ b/micropython/extmod/modtrezormsg/modtrezormsg-unix.h @@ -45,6 +45,8 @@ void msg_init(void) assert(b != -1); } +ssize_t msg_send(uint8_t iface, const uint8_t *buf, size_t len); + ssize_t msg_recv(uint8_t *iface, uint8_t *buf, size_t len) { struct sockaddr_in si;