diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-14 15:35:50 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-14 15:35:50 -0800 |
commit | 11cc694aa0fced8ea96bf36d37f4409296740e1e (patch) | |
tree | 07a423804af57c95d8776efd07290fd9b96bf1ed /stm/main.c | |
parent | 39eab8de96bf81020ee449347ff0e5958bc1a332 (diff) | |
parent | 5225450b9f7116e0c2a1d4080fbc479ea4b677c7 (diff) | |
download | micropython-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.c | 2 |
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); |