all: Remove spaces inside and around parenthesis.

Using new options enabled in the uncrustify configuration.
This commit is contained in:
Damien George
2020-03-27 00:35:04 +11:00
parent b56caaf104
commit 1a3e386c67
24 changed files with 49 additions and 49 deletions

View File

@@ -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;
}