From c98c128fe885e539ecd73843756340f8950115c8 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 6 May 2015 00:02:58 +0100 Subject: pyexec: Make raw REPL work with event-driven version of pyexec. esp8266 port now has working raw and friendly REPL, as well as working soft reset (CTRL-D at REPL, or raise SystemExit). tools/pyboard.py now works with esp8266 port. --- minimal/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'minimal') diff --git a/minimal/main.c b/minimal/main.c index 29b5af1af..f6041267a 100644 --- a/minimal/main.c +++ b/minimal/main.c @@ -41,10 +41,10 @@ int main(int argc, char **argv) { #endif mp_init(); #if MICROPY_REPL_EVENT_DRIVEN - pyexec_friendly_repl_init(); + pyexec_event_repl_init(); for (;;) { - int c = stdin_rx_chr(); - if (pyexec_friendly_repl_process_char(c)) { + int c = mp_hal_stdin_rx_chr(); + if (pyexec_event_repl_process_char(c)) { break; } } -- cgit v1.2.3