diff options
author | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-08-30 10:59:58 +1000 |
commit | 71c9cfb028d423bf4760d66b1afe8951335fa5da (patch) | |
tree | 83ce8ec7270f759f73911f5b45bede989872a9b5 /zephyr/machine_pin.c | |
parent | 784909ce1655bf8b2a97ac81a3842e844992082f (diff) |
all: Convert remaining "mp_uint_t n_args" to "size_t n_args".
This is to have consistency across the whole repository.
Diffstat (limited to 'zephyr/machine_pin.c')
-rw-r--r-- | zephyr/machine_pin.c | 2 |
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 }, |