mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
More consistent use of pass-by-ref, const in baseband code.
This commit is contained in:
parent
82f367dfea
commit
a7afc58cf8
6 changed files with 22 additions and 20 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue