summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/modstm.c
diff options
context:
space:
mode:
authorEmmanuel Blot <emmanuel.blot@free.fr>2014-06-19 18:54:34 +0200
committerEmmanuel Blot <emmanuel.blot@free.fr>2014-06-19 18:54:34 +0200
commitf6932d650620d3753b5a18df5131227276260f74 (patch)
tree977c539a77da4fa73d547414b78c266e511cfc46 /stmhal/modstm.c
parentbf3366a48bca2808ae04ac49e5f5737481d28b57 (diff)
downloadmicropython-f6932d650620d3753b5a18df5131227276260f74.tar.gz
micropython-f6932d650620d3753b5a18df5131227276260f74.zip
Prefix ARRAY_SIZE with micropython prefix MP_
Diffstat (limited to 'stmhal/modstm.c')
-rw-r--r--stmhal/modstm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/modstm.c b/stmhal/modstm.c
index 520c8e51bd..1196ff82ff 100644
--- a/stmhal/modstm.c
+++ b/stmhal/modstm.c
@@ -131,8 +131,8 @@ STATIC const mp_obj_dict_t stm_module_globals = {
.map = {
.all_keys_are_qstrs = 1,
.table_is_fixed_array = 1,
- .used = ARRAY_SIZE(stm_module_globals_table),
- .alloc = ARRAY_SIZE(stm_module_globals_table),
+ .used = MP_ARRAY_SIZE(stm_module_globals_table),
+ .alloc = MP_ARRAY_SIZE(stm_module_globals_table),
.table = (mp_map_elem_t*)stm_module_globals_table,
},
};