summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/modpyb.c
diff options
context:
space:
mode:
authorblmorris <bryan.morrissey@gmail.com>2014-07-21 12:50:10 -0400
committerblmorris <bryan.morrissey@gmail.com>2014-07-21 12:50:10 -0400
commit721d6240c951d7f38289fdfb702536dfa155fdd8 (patch)
tree84ba9fba1218648f73f38346b30ad847437d3046 /teensy/modpyb.c
parentef204733d6abc31b09e4e7823d4665fafebd87ed (diff)
parent4038f513ea0a6be75ecbc4d8ab2bbe2349524bca (diff)
downloadmicropython-721d6240c951d7f38289fdfb702536dfa155fdd8.tar.gz
micropython-721d6240c951d7f38289fdfb702536dfa155fdd8.zip
Merge https://github.com/blmorris/micropython into Myriad2
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,
},
};