summaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index f39a86b7a..9c8a189de 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -539,7 +539,7 @@ soft_reset:
const char *boot_py = "boot.py";
FRESULT res = f_stat(boot_py, NULL);
if (res == FR_OK) {
- int ret = pyexec_file(boot_py);
+ int ret = pyexec_file(boot_py, NULL);
if (ret & PYEXEC_FORCED_EXIT) {
goto soft_reset_exit;
}
@@ -602,7 +602,7 @@ soft_reset:
}
FRESULT res = f_stat(main_py, NULL);
if (res == FR_OK) {
- int ret = pyexec_file(main_py);
+ int ret = pyexec_file(main_py, NULL);
if (ret & PYEXEC_FORCED_EXIT) {
goto soft_reset_exit;
}