diff options
author | Damien George <damien.p.george@gmail.com> | 2014-04-20 00:16:30 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-04-20 00:16:30 +0100 |
commit | d689430e790bfbd40a4fc3139b118aee5576baf7 (patch) | |
tree | e25efdfc49cea0b743e457c2798b538e25ff0a4f /stmhal/extint.c | |
parent | c7c4a8439735ff7617f78b5b6c0cdfb05ae88656 (diff) | |
download | micropython-d689430e790bfbd40a4fc3139b118aee5576baf7.tar.gz micropython-d689430e790bfbd40a4fc3139b118aee5576baf7.zip |
stmhal: Add SPI class.
Also some updates to compile with latest changes to core py.
Diffstat (limited to 'stmhal/extint.c')
-rw-r--r-- | stmhal/extint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/extint.c b/stmhal/extint.c index 9ec599cf13..0d260fc0a6 100644 --- a/stmhal/extint.c +++ b/stmhal/extint.c @@ -244,7 +244,7 @@ STATIC mp_obj_t extint_regs(void) { STATIC mp_obj_t extint_make_new(mp_obj_t type_in, uint n_args, uint n_kw, const mp_obj_t *args) { // type_in == extint_obj_type - mp_check_nargs(n_args, 4, 4, n_kw, false); + mp_arg_check_num(n_args, n_kw, 4, 4, false); extint_obj_t *self = m_new_obj(extint_obj_t); self->base.type = type_in; |