summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/modpyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/modpyb.c')
-rw-r--r--teensy/modpyb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/teensy/modpyb.c b/teensy/modpyb.c
index 435b198d0b..64b9bda2d9 100644
--- a/teensy/modpyb.c
+++ b/teensy/modpyb.c
@@ -29,8 +29,8 @@
#include <mk20dx128.h>
#include "Arduino.h"
-#include "misc.h"
#include "mpconfig.h"
+#include "misc.h"
#include "teensy_hal.h"
@@ -328,8 +328,8 @@ STATIC const mp_obj_dict_t pyb_module_globals = {
.map = {
.all_keys_are_qstrs = 1,
.table_is_fixed_array = 1,
- .used = ARRAY_SIZE(pyb_module_globals_table),
- .alloc = ARRAY_SIZE(pyb_module_globals_table),
+ .used = MP_ARRAY_SIZE(pyb_module_globals_table),
+ .alloc = MP_ARRAY_SIZE(pyb_module_globals_table),
.table = (mp_map_elem_t*)pyb_module_globals_table,
},
};