diff options
| author | Damien George <damien.p.george@gmail.com> | 2019-01-30 22:05:48 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-02-12 14:54:51 +1100 |
| commit | 6e30f96b0b0ab14853085e5300d80d7c1a6f67c5 (patch) | |
| tree | b832f0c77defc536481736f6adce2068b5b8e970 /ports/stm32/main.c | |
| parent | f03601779e7abe733a8411d62329098d47d9f215 (diff) | |
ports: Convert legacy uppercase macro names to lowercase.
Diffstat (limited to 'ports/stm32/main.c')
| -rw-r--r-- | ports/stm32/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 1a00ef3a1..3028f907b 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -132,7 +132,7 @@ STATIC mp_obj_t pyb_main(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_a { MP_QSTR_opt, MP_ARG_INT, {.u_int = 0} } }; - if (MP_OBJ_IS_STR(pos_args[0])) { + if (mp_obj_is_str(pos_args[0])) { MP_STATE_PORT(pyb_config_main) = pos_args[0]; // parse args |
