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 /stm/main.c | |
| parent | 780ba22bb8d4451761952a5401cb15935c8eb4fb (diff) | |
Remove mp_obj_new_exception_msg_1_arg and _2_arg.
Diffstat (limited to 'stm/main.c')
| -rw-r--r-- | stm/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c index be8697b65..342543594 100644 --- a/stm/main.c +++ b/stm/main.c @@ -535,7 +535,7 @@ mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args) { } pin_error: - nlr_jump(mp_obj_new_exception_msg_1_arg(MP_QSTR_ValueError, "pin %s does not exist", pin_name)); + nlr_jump(mp_obj_new_exception_msg_varg(MP_QSTR_ValueError, "pin %s does not exist", pin_name)); } MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_gpio_obj, 1, 2, pyb_gpio); |
