summaryrefslogtreecommitdiff
path: root/zephyr/machine_pin.c
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/machine_pin.c')
-rw-r--r--zephyr/machine_pin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/machine_pin.c b/zephyr/machine_pin.c
index 0e2efcd95..c23ac08f0 100644
--- a/zephyr/machine_pin.c
+++ b/zephyr/machine_pin.c
@@ -46,7 +46,7 @@ STATIC void machine_pin_print(const mp_print_t *print, mp_obj_t self_in, mp_prin
}
// pin.init(mode, pull=None, *, value)
-STATIC mp_obj_t machine_pin_obj_init_helper(machine_pin_obj_t *self, mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
+STATIC mp_obj_t machine_pin_obj_init_helper(machine_pin_obj_t *self, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
enum { ARG_mode, ARG_pull, ARG_value };
static const mp_arg_t allowed_args[] = {
{ MP_QSTR_mode, MP_ARG_REQUIRED | MP_ARG_INT },