summaryrefslogtreecommitdiff
path: root/py/objfun.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-29 13:15:08 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-29 13:15:08 +0000
commit07ddab529cb0953c473d30795e4dc3c6dfff0d89 (patch)
treeba3cba6f7b35f7a3098d044b77a9d6cd61c2ec3a /py/objfun.c
parentda51a399cf628699546f77f320ef0388a268b49f (diff)
py: Change mp_const_* objects to macros.
Addresses issue #388.
Diffstat (limited to 'py/objfun.c')
-rw-r--r--py/objfun.c2
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;