summaryrefslogtreecommitdiffstatshomepage
path: root/stm/exti.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-20 00:15:35 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-20 00:15:35 +0100
commitc7c4a8439735ff7617f78b5b6c0cdfb05ae88656 (patch)
treecfa83ebe2bcb23d2bb90fa522c2e1045e672e0d0 /stm/exti.c
parenta3f94e0030dc209f4d180531878cede7a1e2dbbe (diff)
downloadmicropython-c7c4a8439735ff7617f78b5b6c0cdfb05ae88656.tar.gz
micropython-c7c4a8439735ff7617f78b5b6c0cdfb05ae88656.zip
stm: Update to compile with latest changes to core py.
Diffstat (limited to 'stm/exti.c')
-rw-r--r--stm/exti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/exti.c b/stm/exti.c
index c6dfd9d1a8..a5d9fc16a7 100644
--- a/stm/exti.c
+++ b/stm/exti.c
@@ -283,7 +283,7 @@ static void exti_load_attr(mp_obj_t self_in, qstr attr_qstr, mp_obj_t *dest) {
static mp_obj_t exti_call(mp_obj_t type_in, uint n_args, uint n_kw, const mp_obj_t *args) {
// type_in == exti_obj_type
- mp_check_nargs(n_args, 4, 4, n_kw, 0);
+ mp_arg_check_num(n_args, n_kw, 4, 4, 0);
exti_obj_t *self = m_new_obj(exti_obj_t);
self->base.type = type_in;