From f6932d650620d3753b5a18df5131227276260f74 Mon Sep 17 00:00:00 2001 From: Emmanuel Blot Date: Thu, 19 Jun 2014 18:54:34 +0200 Subject: Prefix ARRAY_SIZE with micropython prefix MP_ --- stmhal/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/main.c') 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 -- cgit v1.2.3