mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-01-26 22:37:13 -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;
|
const auto message = shared_memory.baseband_message;
|
||||||
if( message ) {
|
if( message ) {
|
||||||
on_message(message);
|
on_message(message);
|
||||||
shared_memory.baseband_message = nullptr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,6 +103,7 @@ void EventDispatcher::on_message(const Message* const message) {
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
on_message_default(message);
|
on_message_default(message);
|
||||||
|
shared_memory.baseband_message = nullptr;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user