summaryrefslogtreecommitdiff
path: root/extmod/modlwip.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2017-05-29 10:08:14 +0300
committerVille Skyttä <ville.skytta@iki.fi>2017-05-29 11:36:05 +0300
commitca16c3821053e5bf2b87aeb10007f73f31dc1eac (patch)
tree28b394ba7ef2e107c5fb3112c7ba97f01b6915f1 /extmod/modlwip.c
parente5e49bedcb0ed353ee22ba99078301d9ccd87dbf (diff)
various: Spelling fixes
Diffstat (limited to 'extmod/modlwip.c')
-rw-r--r--extmod/modlwip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c
index c72849cf9..47669cb3a 100644
--- a/extmod/modlwip.c
+++ b/extmod/modlwip.c
@@ -373,7 +373,7 @@ STATIC err_t _lwip_tcp_recv(void *arg, struct tcp_pcb *tcpb, struct pbuf *p, err
}
/*******************************************************************************/
-// Functions for socket send/recieve operations. Socket send/recv and friends call
+// Functions for socket send/receive operations. Socket send/recv and friends call
// these to do the work.
// Helper function for send/sendto to handle UDP packets.
@@ -805,7 +805,7 @@ STATIC mp_obj_t lwip_socket_connect(mp_obj_t self_in, mp_obj_t addr_in) {
mp_raise_OSError(MP_EINPROGRESS);
}
}
- // Register our recieve callback.
+ // Register our receive callback.
tcp_recv(socket->pcb.tcp, _lwip_tcp_recv);
socket->state = STATE_CONNECTING;
err = tcp_connect(socket->pcb.tcp, &dest, port, _lwip_tcp_connected);