8000 samd/main: Initialize readline on start up. · jimmo/micropython@4cf527e · GitHub
[go: up one dir, main page]

Skip to content

Commit 4cf527e

Browse files
robert-hhdpgeorge
authored andcommitted
samd/main: Initialize readline on start up.
Somehow that was forgotten.
1 parent 65f99e3 commit 4cf527e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/samd/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "py/gc.h"
3030
#include "py/mperrno.h"
3131
#include "py/stackctrl.h"
32+
#include "shared/readline/readline.h"
3233
#include "shared/runtime/gchelper.h"
3334
#include "shared/runtime/pyexec.h"
3435
#include "shared/runtime/softtimer.h"
@@ -48,6 +49,9 @@ void samd_main(void) {
4849
gc_init(&_sheap, &_eheap);
4950
mp_init();
5051

52+
// Initialise sub-systems.
53+
readline_init0();
54+
5155
// Execute _boot.py to set up the filesystem.
5256
pyexec_frozen_module("_boot.py");
5357

0 commit comments

Comments
 (0)
0