diff options
author | Damien George <damien.p.george@gmail.com> | 2020-03-27 00:35:04 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-03-28 23:36:44 +1100 |
commit | 1a3e386c67e03a79eb768cb6e9f6777e002d6660 (patch) | |
tree | 7e0b0620744e738bb281eb1c032b21a53558b8c0 /extmod/modlwip.c | |
parent | b56caaf104a196902efb23f324f7e290c6f3d291 (diff) |
all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration.
Diffstat (limited to 'extmod/modlwip.c')
-rw-r--r-- | extmod/modlwip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extmod/modlwip.c b/extmod/modlwip.c index 321d3de8a..ba78bf94f 100644 --- a/extmod/modlwip.c +++ b/extmod/modlwip.c @@ -630,7 +630,7 @@ STATIC mp_uint_t lwip_raw_udp_receive(lwip_socket_obj_t *socket, byte *buf, mp_u MICROPY_PY_LWIP_EXIT - return (mp_uint_t) result; + return (mp_uint_t)result; } // For use in stream virtual methods @@ -1240,7 +1240,7 @@ STATIC mp_obj_t lwip_socket_recvfrom(mp_obj_t self_in, mp_obj_t len_in) { switch (socket->type) { case MOD_NETWORK_SOCK_STREAM: { memcpy(ip, &socket->peer, sizeof(socket->peer)); - port = (mp_uint_t) socket->peer_port; + port = (mp_uint_t)socket->peer_port; ret = lwip_tcp_receive(socket, (byte *)vstr.buf, len, &_errno); break; } |