summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'teensy/main.c')
-rw-r--r--teensy/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/teensy/main.c b/teensy/main.c
index 082f6f1ca9..34a804c60a 100644
--- a/teensy/main.c
+++ b/teensy/main.c
@@ -319,6 +319,7 @@ soft_reset:
} else {
vstr_add_str(vstr, mp_obj_str_get_str(pyb_config_main));
}
+ vstr_null_terminate(vstr);
if (!pyexec_file(vstr_str(vstr))) {
flash_error(3);
}