diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-25 04:10:34 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-25 04:10:34 +0100 |
commit | e973acde81462de0c205f27db2642a08022fb3a8 (patch) | |
tree | c6862ead76ae12979b3c3d6d1ec20774884c72ef /stmhal/modtime.c | |
parent | 780e54cdc3491409060f90003ca64fcdd3f9f1e6 (diff) | |
parent | 939c2e7f448fbe6b44d0079d2fc33c7ac7eb32d0 (diff) | |
download | micropython-e973acde81462de0c205f27db2642a08022fb3a8.tar.gz micropython-e973acde81462de0c205f27db2642a08022fb3a8.zip |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'stmhal/modtime.c')
-rw-r--r-- | stmhal/modtime.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/modtime.c b/stmhal/modtime.c index 4fbee31293..ea4e3210a6 100644 --- a/stmhal/modtime.c +++ b/stmhal/modtime.c @@ -122,8 +122,8 @@ STATIC const mp_obj_dict_t time_module_globals = { .map = { .all_keys_are_qstrs = 1, .table_is_fixed_array = 1, - .used = ARRAY_SIZE(time_module_globals_table), - .alloc = ARRAY_SIZE(time_module_globals_table), + .used = MP_ARRAY_SIZE(time_module_globals_table), + .alloc = MP_ARRAY_SIZE(time_module_globals_table), .table = (mp_map_elem_t*)time_module_globals_table, }, }; |