all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user