diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-12 23:02:19 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-12 23:02:19 +0000 |
commit | 099a9cb575b254dd9e00fd1c60859aec7299deb7 (patch) | |
tree | 9e5fd851076515e760ad84439c9360ee9410722b /teensy/main.c | |
parent | 780ba22bb8d4451761952a5401cb15935c8eb4fb (diff) | |
download | micropython-099a9cb575b254dd9e00fd1c60859aec7299deb7.tar.gz micropython-099a9cb575b254dd9e00fd1c60859aec7299deb7.zip |
Remove mp_obj_new_exception_msg_1_arg and _2_arg.
Diffstat (limited to 'teensy/main.c')
-rw-r--r-- | teensy/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/teensy/main.c b/teensy/main.c index bbfa7590fa..70067927fe 100644 --- a/teensy/main.c +++ b/teensy/main.c @@ -190,7 +190,7 @@ mp_obj_t pyb_gpio(int n_args, mp_obj_t *args) { return mp_const_none; pin_error: - nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_ValueError, "pin %d does not exist", (void *)(machine_uint_t)pin)); + nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_ValueError, "pin %d does not exist", pin)); } MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_gpio_obj, 1, 2, pyb_gpio); |