diff options
Diffstat (limited to 'stmhal/main.c')
-rw-r--r-- | stmhal/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index 9751dcac2e..e264fdf4b3 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 |