mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 21:17:51 +00:00
More consistent use of pass-by-ref, const in baseband code.
This commit is contained in:
@@ -60,7 +60,6 @@ void TPMSProcessor::consume_symbol(
|
||||
void TPMSProcessor::payload_handler(
|
||||
const baseband::Packet& packet
|
||||
) {
|
||||
TPMSPacketMessage message;
|
||||
message.packet = packet;
|
||||
const TPMSPacketMessage message { packet };
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user