ports: Convert legacy uppercase macro names to lowercase.

This commit is contained in:
Damien George
2019-01-30 22:05:48 +11:00
parent f03601779e
commit 6e30f96b0b
46 changed files with 77 additions and 77 deletions

View File

@@ -157,7 +157,7 @@ static int _socket_getaddrinfo2(const mp_obj_t host, const mp_obj_t portx, struc
};
mp_obj_t port = portx;
if (MP_OBJ_IS_SMALL_INT(port)) {
if (mp_obj_is_small_int(port)) {
// This is perverse, because lwip_getaddrinfo promptly converts it back to an int, but
// that's the API we have to work with ...
port = mp_obj_str_binary_op(MP_BINARY_OP_MODULO, mp_obj_new_str_via_qstr("%s", 2), port);