summaryrefslogtreecommitdiffstatshomepage
path: root/pic16bit/modpybled.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-16 21:07:26 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-16 21:07:26 +0000
commite7bee6b35ea4c9e622209902456be64559b94d17 (patch)
treef1b510da668e08054306a769d6c7b0a74c7446b8 /pic16bit/modpybled.c
parent31dd312f83464d26b19c6eeed1e0e3e7c8aa30ad (diff)
downloadmicropython-e7bee6b35ea4c9e622209902456be64559b94d17.tar.gz
micropython-e7bee6b35ea4c9e622209902456be64559b94d17.zip
pic16bit: Minor updates to types to allow port to compile again.
Diffstat (limited to 'pic16bit/modpybled.c')
-rw-r--r--pic16bit/modpybled.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pic16bit/modpybled.c b/pic16bit/modpybled.c
index 1610dc5680..797246d13c 100644
--- a/pic16bit/modpybled.c
+++ b/pic16bit/modpybled.c
@@ -46,7 +46,7 @@ void pyb_led_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t ki
mp_printf(print, "LED(%u)", LED_ID(self));
}
-STATIC mp_obj_t pyb_led_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) {
+STATIC mp_obj_t pyb_led_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
mp_arg_check_num(n_args, n_kw, 1, 1, false);
mp_int_t led_id = mp_obj_get_int(args[0]);
if (!(1 <= led_id && led_id <= NUM_LED)) {