summaryrefslogtreecommitdiffstatshomepage
path: root/stm/pin_map.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/pin_map.c
parenta3f94e0030dc209f4d180531878cede7a1e2dbbe (diff)
downloadmicropython-c7c4a8439735ff7617f78b5b6c0cdfb05ae88656.tar.gz
micropython-c7c4a8439735ff7617f78b5b6c0cdfb05ae88656.zip
stm: Update to compile with latest changes to core py.
Diffstat (limited to 'stm/pin_map.c')
-rw-r--r--stm/pin_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/pin_map.c b/stm/pin_map.c
index c5754ca33d..bb2c054e78 100644
--- a/stm/pin_map.c
+++ b/stm/pin_map.c
@@ -68,7 +68,7 @@ static void pin_map_obj_print(void (*print)(void *env, const char *fmt, ...), vo
static mp_obj_t pin_map_call(mp_obj_t self_in, uint n_args, uint n_kw, const mp_obj_t *args) {
pin_map_obj_t *self = self_in;
- mp_check_nargs(n_args, 1, 2, n_kw, false);
+ mp_arg_check_num(n_args, n_kw, 1, 2, false);
if (n_args > 1) {
if (!self->map_dict) {