Simplify app->baseband message handling.

No need for a FIFO when all messages are intended to be synchronous.
This commit is contained in:
Jared Boone 2016-06-24 14:16:45 -07:00
parent 61325e4696
commit d41c6ee36a
4 changed files with 37 additions and 36 deletions

View file

@ -284,9 +284,7 @@ void EventDispatcher::event_bubble_encoder(const ui::EncoderEvent event) {
}
void EventDispatcher::init_message_queues() {
new (&shared_memory.baseband_queue) MessageQueue(
shared_memory.baseband_queue_data, SharedMemory::baseband_queue_k
);
shared_memory.baseband_message = nullptr;
new (&shared_memory.application_queue) MessageQueue(
shared_memory.application_queue_data, SharedMemory::application_queue_k
);