diff --git a/ports/card10/main.c b/ports/card10/main.c index 38b5c947dcd3f5280a0474b24ab04c28f4415558..4c94897efc90e0332153c1ef1970d25b8dad8b3a 100644 --- a/ports/card10/main.c +++ b/ports/card10/main.c @@ -26,19 +26,7 @@ int main(int argc, char **argv) { #endif mp_init(); - #if MICROPY_REPL_EVENT_DRIVEN - pyexec_event_repl_init(); - for (;;) { - int c = mp_hal_stdin_rx_chr(); - if (pyexec_event_repl_process_char(c)) { - break; - } - } - #else - // pyexec_friendly_repl(); - #error TODO friendly_repl - #endif - + pyexec_friendly_repl(); mp_deinit(); return 0; } @@ -80,7 +68,3 @@ void MP_WEAK __assert_func(const char *file, int line, const char *func, const c __fatal_error("Assertion failed"); } #endif - -#if MICROPY_MIN_USE_CORTEX_CPU -// TODO -#endif