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

@@ -350,7 +350,7 @@ STATIC mp_obj_t pyb_uart_make_new(const mp_obj_type_t *type, size_t n_args, size
// work out port
int uart_id = 0;
if (MP_OBJ_IS_STR(args[0])) {
if (mp_obj_is_str(args[0])) {
const char *port = mp_obj_str_get_str(args[0]);
if (0) {
#ifdef MICROPY_HW_UART1_NAME