mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-26 06:26:17 -05:00
Clear baseband message for non-shutdown messages.
This commit is contained in:
parent
eac4cf678a
commit
dbd0c17c2f
@ -92,7 +92,6 @@ void EventDispatcher::handle_baseband_queue() {
|
||||
const auto message = shared_memory.baseband_message;
|
||||
if( message ) {
|
||||
on_message(message);
|
||||
shared_memory.baseband_message = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
@ -104,6 +103,7 @@ void EventDispatcher::on_message(const Message* const message) {
|
||||
|
||||
default:
|
||||
on_message_default(message);
|
||||
shared_memory.baseband_message = nullptr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user