summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-03 22:44:24 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-03 22:44:24 +0100
commit75aebda809e0196b7986af80a80dcc56566beacb (patch)
treec9bdcf3ffde251cc7a85e622554b5d7d6aa2d0e7 /py
parentd5f5b2f76698e29f9cc2f0ae682d2475c0d77baa (diff)
parent3a0184039081d6f0da8928a2a4dd60ff67dfcac7 (diff)
downloadmicropython-75aebda809e0196b7986af80a80dcc56566beacb.tar.gz
micropython-75aebda809e0196b7986af80a80dcc56566beacb.zip
Merge branch 'stinos-mingw-float-printf'
Diffstat (limited to 'py')
-rw-r--r--py/runtime.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/py/runtime.c b/py/runtime.c
index 2928de8a72..ba78ec40f3 100644
--- a/py/runtime.c
+++ b/py/runtime.c
@@ -42,6 +42,11 @@ const mp_obj_module_t mp_module___main__ = {
};
void mp_init(void) {
+ // call port specific initialization if any
+#ifdef MICROPY_PORT_INIT_FUNC
+ MICROPY_PORT_INIT_FUNC;
+#endif
+
mp_emit_glue_init();
// init global module stuff