diff options
| author | Damien George | 2015-05-06 00:02:58 +0100 |
|---|---|---|
| committer | Damien George | 2015-05-06 00:02:58 +0100 |
| commit | c98c128fe885e539ecd73843756340f8950115c8 (patch) | |
| tree | 72030c7c91a12aea609edced0a233e1aa7d9c8cf /minimal | |
| parent | 367d4d10983c0047d2f1c91ebe44a45e5f2bbf65 (diff) | |
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.
Diffstat (limited to 'minimal')
| -rw-r--r-- | minimal/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } } |
