From 8dbbbbc793554f920cf352b0e67da46abe3974cf Mon Sep 17 00:00:00 2001 From: Damien George Date: Mon, 4 Aug 2014 10:05:16 +0100 Subject: Put call to qstr_init and mp_init_emergency_exc_buf in mp_init. qstr_init is always called exactly before mp_init, so makes sense to just have mp_init call it. Similarly with mp_init_emergency_exception_buf. Doing this makes the ports simpler and less error prone (ie they can no longer forget to call these). --- teensy/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'teensy') diff --git a/teensy/main.c b/teensy/main.c index a5b2d5b52..e00c3ff30 100644 --- a/teensy/main.c +++ b/teensy/main.c @@ -267,7 +267,7 @@ soft_reset: // GC init gc_init(&_heap_start, (void*)HEAP_END); - qstr_init(); + // Micro Python init mp_init(); readline_init(); -- cgit v1.2.3