From b2d5e473083a4973a20c7a18b1ad0237ee00d9ed Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sat, 2 Jul 2016 16:02:50 -0700 Subject: [PATCH] Clear baseband message at end of shutdown(). Allow baseband to shut down completely before shutdown message is acknowledged. --- firmware/baseband/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/baseband/main.cpp b/firmware/baseband/main.cpp index 2fa72999..e99a0f34 100755 --- a/firmware/baseband/main.cpp +++ b/firmware/baseband/main.cpp @@ -100,6 +100,8 @@ static void shutdown() { ShutdownMessage shutdown_message; shared_memory.application_queue.push(shutdown_message); + shared_memory.baseband_message = nullptr; + halt(); }