summaryrefslogtreecommitdiff
path: root/stmhal/exti.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/exti.c')
-rw-r--r--stmhal/exti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/exti.c b/stmhal/exti.c
index 384691c91..c5378d835 100644
--- a/stmhal/exti.c
+++ b/stmhal/exti.c
@@ -262,7 +262,7 @@ STATIC MP_DEFINE_CONST_DICT(exti_locals_dict, exti_locals_dict_table);
STATIC mp_obj_t exti_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_obj_t *args) {
// type_in == exti_obj_type
- rt_check_nargs(n_args, 4, 4, n_kw, 0);
+ rt_check_nargs(n_args, 4, 4, n_kw, false);
exti_obj_t *self = m_new_obj(exti_obj_t);
self->base.type = type_in;