summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 4e1222e8fc..7c92e8e180 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]));