summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-14 15:35:50 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-14 15:35:50 -0800
commit11cc694aa0fced8ea96bf36d37f4409296740e1e (patch)
tree07a423804af57c95d8776efd07290fd9b96bf1ed /stm/main.c
parent39eab8de96bf81020ee449347ff0e5958bc1a332 (diff)
parent5225450b9f7116e0c2a1d4080fbc479ea4b677c7 (diff)
downloadmicropython-11cc694aa0fced8ea96bf36d37f4409296740e1e.tar.gz
micropython-11cc694aa0fced8ea96bf36d37f4409296740e1e.zip
Merge pull request #173 from pfalcon/file-readall
Generic implementation if stream readall() method, immediately reused in unix io.FileIO implementation
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/main.c b/stm/main.c
index 2085182c29..4d49b8d3d2 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -390,7 +390,7 @@ void do_repl(void) {
stdout_tx_str("Type \"help()\" for more information.\r\n");
vstr_t line;
- vstr_init(&line);
+ vstr_init(&line, 32);
for (;;) {
vstr_reset(&line);