diff options
| author | Damien George | 2019-01-30 22:05:48 +1100 |
|---|---|---|
| committer | Damien George | 2019-02-12 14:54:51 +1100 |
| commit | 6e30f96b0b0ab14853085e5300d80d7c1a6f67c5 (patch) | |
| tree | b832f0c77defc536481736f6adce2068b5b8e970 /ports/teensy/reg.c | |
| parent | f03601779e7abe733a8411d62329098d47d9f215 (diff) | |
ports: Convert legacy uppercase macro names to lowercase.
Diffstat (limited to 'ports/teensy/reg.c')
| -rw-r--r-- | ports/teensy/reg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/teensy/reg.c b/ports/teensy/reg.c index cbc427d87..4f1fd52c2 100644 --- a/ports/teensy/reg.c +++ b/ports/teensy/reg.c @@ -18,7 +18,7 @@ mp_obj_t reg_cmd(void *base, reg_t *reg, mp_uint_t num_regs, uint n_args, const mp_uint_t addr = 0; - if (MP_OBJ_IS_STR(args[0])) { + if (mp_obj_is_str(args[0])) { const char *name = mp_obj_str_get_str(args[0]); mp_uint_t reg_idx; for (reg_idx = 0; reg_idx < num_regs; reg_idx++, reg++) { |
