summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-07-21 16:26:46 -0700
committerScott Shawcroft <scott@tannewt.org>2020-07-22 16:26:46 -0700
commit2bd6d056638f05185eb497ca2d039ebe9f386327 (patch)
treea4e2711f774f400d034d67369212a914faedacea /main.c
parentd22283c9c44949242b16fdd4ba4b9d8c55a58add (diff)
Add externs. GCC10 complains about duplicate defines
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 2fb468913..8c5c9ac37 100755
--- a/main.c
+++ b/main.c
@@ -331,6 +331,8 @@ bool run_code_py(safe_mode_t safe_mode) {
}
}
+FIL* boot_output_file;
+
void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
// If not in safe mode, run boot before initing USB and capture output in a
// file.