summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/input.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-07 15:30:15 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-07 15:30:15 +0100
commitc35e53436b9adb3c49a8980d018b2f8198db8077 (patch)
tree1227049154a3e1facd757eec090e851def039c35 /stmhal/input.c
parent1dd46fafbd11941f7aa5b3b3c1f3d63e102e85cf (diff)
parent117c46d9eb00e8ffaabc1002a4946440cb1eb5b0 (diff)
downloadmicropython-c35e53436b9adb3c49a8980d018b2f8198db8077.tar.gz
micropython-c35e53436b9adb3c49a8980d018b2f8198db8077.zip
Merge pull request #582 from dhylands/unix-input
Add input command for unix
Diffstat (limited to 'stmhal/input.c')
-rw-r--r--stmhal/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/input.c b/stmhal/input.c
index 6bd9e6c4f0..94f66b97f1 100644
--- a/stmhal/input.c
+++ b/stmhal/input.c
@@ -36,7 +36,7 @@
STATIC mp_obj_t mp_builtin_input(uint n_args, const mp_obj_t *args) {
if (n_args == 1) {
- mp_obj_print(args[0], PRINT_REPR);
+ mp_obj_print(args[0], PRINT_STR);
}
vstr_t line;
vstr_init(&line, 16);