summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authormrmcwethy <mrmcwethy@yahoo.com>2017-11-22 19:56:28 -0700
committerScott Shawcroft <scott@tannewt.org>2017-11-22 22:57:50 -0800
commita38d8948b3b22a7b3f84284f765578a8edeab3f5 (patch)
tree8cbb96ff436f5dbf8bca98e35e2f7ad65db4e7a8 /supervisor
parentd016bcdf82bbee7f800bc80f60d6c13d756113d5 (diff)
M4 status LED flashing with no main.py present #447 Initialized stack variable
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/rgb_led_status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/supervisor/shared/rgb_led_status.c b/supervisor/shared/rgb_led_status.c
index 0f29b254a..4ea090042 100644
--- a/supervisor/shared/rgb_led_status.c
+++ b/supervisor/shared/rgb_led_status.c
@@ -207,6 +207,7 @@ void prep_rgb_status_animation(const pyexec_result_t* result,
new_status_color(ALL_DONE);
status->pattern_start = ticks_ms;
status->safe_mode = safe_mode;
+ status->found_main = found_main;
status->total_exception_cycle = 0;
status->ones = result->exception_line % 10;
status->ones += status->ones > 0 ? 1 : 0;