mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 06:49:24 -05:00
Clear application message queue after baseband is shut down.
This commit is contained in:
parent
30efa53956
commit
57293bc5eb
@ -115,6 +115,8 @@ void shutdown() {
|
||||
ShutdownMessage message;
|
||||
send_message(&message);
|
||||
|
||||
shared_memory.application_queue.reset();
|
||||
|
||||
baseband_image_running = false;
|
||||
}
|
||||
|
||||
|
@ -74,6 +74,10 @@ public:
|
||||
return fifo.is_empty();
|
||||
}
|
||||
|
||||
void reset() {
|
||||
fifo.reset();
|
||||
}
|
||||
|
||||
private:
|
||||
FIFO<uint8_t> fifo;
|
||||
Mutex mutex_write;
|
||||
|
Loading…
Reference in New Issue
Block a user