Clear baseband message at end of shutdown().

Allow baseband to shut down completely before shutdown message is acknowledged.
This commit is contained in:
Jared Boone 2016-07-02 16:02:50 -07:00
parent dbd0c17c2f
commit b2d5e47308

View File

@ -100,6 +100,8 @@ static void shutdown() {
ShutdownMessage shutdown_message;
shared_memory.application_queue.push(shutdown_message);
shared_memory.baseband_message = nullptr;
halt();
}