summaryrefslogtreecommitdiff
path: root/stmhal/pyexec.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-05-06 00:02:58 +0100
committerDamien George <damien.p.george@gmail.com>2015-05-06 00:02:58 +0100
commitc98c128fe885e539ecd73843756340f8950115c8 (patch)
tree72030c7c91a12aea609edced0a233e1aa7d9c8cf /stmhal/pyexec.h
parent367d4d10983c0047d2f1c91ebe44a45e5f2bbf65 (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 'stmhal/pyexec.h')
-rw-r--r--stmhal/pyexec.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/pyexec.h b/stmhal/pyexec.h
index d01d505a7..0728b9133 100644
--- a/stmhal/pyexec.h
+++ b/stmhal/pyexec.h
@@ -37,7 +37,7 @@ extern pyexec_mode_kind_t pyexec_mode_kind;
int pyexec_raw_repl(void);
int pyexec_friendly_repl(void);
int pyexec_file(const char *filename);
-void pyexec_friendly_repl_init(void);
-int pyexec_friendly_repl_process_char(int c);
+void pyexec_event_repl_init(void);
+int pyexec_event_repl_process_char(int c);
MP_DECLARE_CONST_FUN_OBJ(pyb_set_repl_info_obj);