summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-10-20 23:50:12 -0400
committerDan Halbert <halbert@halwitz.org>2019-10-20 23:50:12 -0400
commit7b79ac37399927070e1931022f5759393202ed3d (patch)
tree3ae5f0200b13562c880ea10fe24a2e185d0e4bd2 /main.c
parentbe8136dc6d09e2c3af5c20c881662ebf51a778d8 (diff)
Parameterize linker script
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6b56f5ff6..4683bcf00 100755
--- a/main.c
+++ b/main.c
@@ -199,7 +199,7 @@ void cleanup_after_vm(supervisor_allocation* heap) {
bool run_code_py(safe_mode_t safe_mode) {
bool serial_connected_at_start = serial_connected();
- #ifdef CIRCUITPY_AUTORELOAD_DELAY_MS
+ #if CIRCUITPY_AUTORELOAD_DELAY_MS > 0
if (serial_connected_at_start) {
serial_write("\n");
if (autoreload_is_enabled()) {