diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-03-29 13:15:08 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-03-29 13:15:08 +0000 |
| commit | 07ddab529cb0953c473d30795e4dc3c6dfff0d89 (patch) | |
| tree | ba3cba6f7b35f7a3098d044b77a9d6cd61c2ec3a /py/objfun.c | |
| parent | da51a399cf628699546f77f320ef0388a268b49f (diff) | |
py: Change mp_const_* objects to macros.
Addresses issue #388.
Diffstat (limited to 'py/objfun.c')
| -rw-r--r-- | py/objfun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objfun.c b/py/objfun.c index e626c152a..937071660 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -373,7 +373,7 @@ STATIC machine_uint_t convert_obj_for_inline_asm(mp_obj_t obj) { // convert float to int (could also pass in float registers) return (machine_int_t)mp_obj_float_get(obj); #endif - } else if (MP_OBJ_IS_TYPE(obj, &tuple_type)) { + } else if (MP_OBJ_IS_TYPE(obj, &mp_type_tuple)) { // pointer to start of tuple (could pass length, but then could use len(x) for that) uint len; mp_obj_t *items; |
