From a11ceca807bd7a958c3d45ce02fe23cda0085f7d Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 19 Jan 2014 16:02:09 +0000 Subject: Change int to uint for n_args in function with variable arguments. --- stm/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stm') diff --git a/stm/main.c b/stm/main.c index 4e1222e8f..7c92e8e18 100644 --- a/stm/main.c +++ b/stm/main.c @@ -526,7 +526,7 @@ mp_obj_t pyb_gc(void) { return mp_const_none; } -mp_obj_t pyb_gpio(int n_args, mp_obj_t *args) { +mp_obj_t pyb_gpio(uint n_args, mp_obj_t *args) { //assert(1 <= n_args && n_args <= 2); const char *pin_name = qstr_str(mp_obj_get_qstr(args[0])); -- cgit v1.2.3