summaryrefslogtreecommitdiff
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-19 16:02:09 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-19 16:02:09 +0000
commita11ceca807bd7a958c3d45ce02fe23cda0085f7d (patch)
treec2da00732cfd5343de5e2ead9adc9dbd7826952d /stm/main.c
parent136b149e417314e5ad46b3ee78b811df57e74f41 (diff)
Change int to uint for n_args in function with variable arguments.
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 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]));