mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-23 15:27:40 +00:00
Un-const Message in message handler interfaces.
I want to modify in place the messages that are received. Naughty, but oh well.
This commit is contained in:
@@ -260,7 +260,7 @@ private:
|
||||
|
||||
void handle_baseband_queue() {
|
||||
std::array<uint8_t, Message::MAX_SIZE> message_buffer;
|
||||
while(const Message* const message = shared_memory.baseband_queue.pop(message_buffer)) {
|
||||
while(Message* const message = shared_memory.baseband_queue.pop(message_buffer)) {
|
||||
message_map.send(message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user