diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-03-26 22:46:03 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-03-26 22:46:03 +0000 |
| commit | eed6f26bed82969e3c9954159b17fe2733f4cb42 (patch) | |
| tree | 204b135703111e810149f8f9fd0c786cc57c45ab /stmhal/exti.c | |
| parent | f61a072f68c59a7acf560e2ead948fb7658c523d (diff) | |
stmhal: Use rt_check_nargs to check number of arguments.
Diffstat (limited to 'stmhal/exti.c')
| -rw-r--r-- | stmhal/exti.c | 2 |
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; |
