diff options
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 80cee1643..361df1914 100644 --- a/py/objfun.c +++ b/py/objfun.c @@ -372,7 +372,7 @@ STATIC machine_uint_t convert_obj_for_inline_asm(mp_obj_t obj) { uint l; return (machine_uint_t)mp_obj_str_get_data(obj, &l); #if MICROPY_ENABLE_FLOAT - } else if (MP_OBJ_IS_TYPE(obj, &float_type)) { + } else if (MP_OBJ_IS_TYPE(obj, &mp_type_float)) { // convert float to int (could also pass in float registers) return (machine_int_t)mp_obj_float_get(obj); #endif |
