mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 13:17:24 +00:00
Clear baseband message at end of shutdown().
Allow baseband to shut down completely before shutdown message is acknowledged.
This commit is contained in:
@@ -100,6 +100,8 @@ static void shutdown() {
|
|||||||
ShutdownMessage shutdown_message;
|
ShutdownMessage shutdown_message;
|
||||||
shared_memory.application_queue.push(shutdown_message);
|
shared_memory.application_queue.push(shutdown_message);
|
||||||
|
|
||||||
|
shared_memory.baseband_message = nullptr;
|
||||||
|
|
||||||
halt();
|
halt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user