@@ -647,7 +647,7 @@ STATIC void pin_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t
647647 mp_printf (print , ", alt=%d)" , alt );
648648}
649649
650- STATIC mp_obj_t pin_make_new (const mp_obj_type_t * type , mp_uint_t n_args , mp_uint_t n_kw , const mp_obj_t * args ) {
650+ STATIC mp_obj_t pin_make_new (const mp_obj_type_t * type , size_t n_args , size_t n_kw , const mp_obj_t * args ) {
651651 mp_arg_check_num (n_args , n_kw , 1 , MP_OBJ_FUN_ARGS_MAX , true);
652652
653653 // Run an argument through the mapper and return the result.
@@ -747,7 +747,7 @@ STATIC mp_obj_t pin_drive(mp_uint_t n_args, const mp_obj_t *args) {
747747}
748748STATIC MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN (pin_drive_obj , 1 , 2 , pin_drive );
749749
750- STATIC mp_obj_t pin_call (mp_obj_t self_in , mp_uint_t n_args , mp_uint_t n_kw , const mp_obj_t * args ) {
750+ STATIC mp_obj_t pin_call (mp_obj_t self_in , size_t n_args , size_t n_kw , const mp_obj_t * args ) {
751751 mp_arg_check_num (n_args , n_kw , 0 , 1 , false);
752752 mp_obj_t _args [2 ] = {self_in , * args };
753753 return pin_value (n_args + 1 , _args );
0 commit comments