summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/modpybpin.c
diff options
context:
space:
mode:
Diffstat (limited to 'esp8266/modpybpin.c')
-rw-r--r--esp8266/modpybpin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modpybpin.c b/esp8266/modpybpin.c
index a2ab985738..3c3aebe6ea 100644
--- a/esp8266/modpybpin.c
+++ b/esp8266/modpybpin.c
@@ -119,7 +119,7 @@ STATIC mp_obj_t pyb_pin_obj_init_helper(pyb_pin_obj_t *self, mp_uint_t n_args, c
}
// constructor(id, ...)
-STATIC mp_obj_t pyb_pin_make_new(mp_obj_t self_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
+STATIC mp_obj_t pyb_pin_make_new(const mp_obj_type_t *type, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
mp_arg_check_num(n_args, n_kw, 1, MP_OBJ_FUN_ARGS_MAX, true);
// Run an argument through the mapper and return the result.