mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-27 18:52:39 -04:00
Clear application message queue after baseband is shut down.
This commit is contained in:
parent
30efa53956
commit
57293bc5eb
2 changed files with 6 additions and 0 deletions
|
@ -74,6 +74,10 @@ public:
|
|||
return fifo.is_empty();
|
||||
}
|
||||
|
||||
void reset() {
|
||||
fifo.reset();
|
||||
}
|
||||
|
||||
private:
|
||||
FIFO<uint8_t> fifo;
|
||||
Mutex mutex_write;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue