summaryrefslogtreecommitdiff
path: root/py/objfun.c
diff options
context:
space:
mode:
authorHierophect <hierophect@gmail.com>2019-11-12 09:49:17 -0500
committerHierophect <hierophect@gmail.com>2019-11-12 09:49:17 -0500
commited3e377390862da98dcf39d164ebb1d64b950e1f (patch)
treef99e2932b884abd1377d15921274a74f3323a86f /py/objfun.c
parent14b70806a5aacd3a5346940e6a07d32464d73506 (diff)
parent93cdf51b7f385f4ce9fe4c41a1a0cf3b7b642255 (diff)
Merge remote-tracking branch 'upstream/master' into stm32-uart
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 b8364815b..7e5899456 100644
--- a/py/objfun.c
+++ b/py/objfun.c
@@ -546,7 +546,7 @@ STATIC mp_uint_t convert_obj_for_inline_asm(mp_obj_t obj) {
STATIC mp_obj_t fun_asm_call(mp_obj_t self_in, size_t n_args, size_t n_kw, const mp_obj_t *args) {
mp_obj_fun_asm_t *self = self_in;
- mp_arg_check_num(n_args, n_kw, self->n_args, self->n_args, false);
+ mp_arg_check_num_kw_array(n_args, n_kw, self->n_args, self->n_args, false);
void *fun = MICROPY_MAKE_POINTER_CALLABLE(self->fun_data);