Clear application message queue after baseband is shut down.

This commit is contained in:
Jared Boone 2016-07-02 16:19:28 -07:00
parent 30efa53956
commit 57293bc5eb
2 changed files with 6 additions and 0 deletions

View file

@ -74,6 +74,10 @@ public:
return fifo.is_empty();
}
void reset() {
fifo.reset();
}
private:
FIFO<uint8_t> fifo;
Mutex mutex_write;