aboutsummaryrefslogtreecommitdiff
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorEmmanuel Blot2014-06-19 18:54:34 +0200
committerEmmanuel Blot2014-06-19 18:54:34 +0200
commitf6932d650620d3753b5a18df5131227276260f74 (patch)
tree977c539a77da4fa73d547414b78c266e511cfc46 /stmhal/main.c
parentbf3366a48bca2808ae04ac49e5f5737481d28b57 (diff)
Prefix ARRAY_SIZE with micropython prefix MP_
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 9751dcac2..e264fdf4b 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -308,7 +308,7 @@ soft_reset:
MP_OBJ_NEW_SMALL_INT(115200),
};
pyb_uart_global_debug = pyb_uart_type.make_new((mp_obj_t)&pyb_uart_type,
- ARRAY_SIZE(args),
+ MP_ARRAY_SIZE(args),
0, args);
}
#else