diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-12-09 22:49:44 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2016-12-09 22:49:44 -0800 |
| commit | cd09726904dfb70fbfe6ed8de648737bc34ab37c (patch) | |
| tree | efa7ae3034bd5a469d9805073abec42026e4a5c1 /stmhal | |
| parent | b6f1eebab30b0e687e07cc3e42d9db9fd48aab05 (diff) | |
Fix pyexec_file calls.
Diffstat (limited to 'stmhal')
| -rw-r--r-- | stmhal/main.c | 4 |
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; } |
