mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-07 23:07:43 +00:00
Move FSKPacketMessage to stack.
This commit is contained in:
parent
589cb47cc6
commit
fa275156ed
@ -558,7 +558,6 @@ private:
|
|||||||
AccessCodeCorrelator access_code_correlator;
|
AccessCodeCorrelator access_code_correlator;
|
||||||
PacketBuilder packet_builder;
|
PacketBuilder packet_builder;
|
||||||
|
|
||||||
FSKPacketMessage message;
|
|
||||||
MessageHandlerMap& message_handlers;
|
MessageHandlerMap& message_handlers;
|
||||||
|
|
||||||
void consume_symbol(
|
void consume_symbol(
|
||||||
@ -583,6 +582,7 @@ private:
|
|||||||
const std::bitset<256>& payload,
|
const std::bitset<256>& payload,
|
||||||
const size_t bits_received
|
const size_t bits_received
|
||||||
) {
|
) {
|
||||||
|
FSKPacketMessage message;
|
||||||
message.packet.payload = payload;
|
message.packet.payload = payload;
|
||||||
message.packet.bits_received = bits_received;
|
message.packet.bits_received = bits_received;
|
||||||
shared_memory.application_queue.push(message);
|
shared_memory.application_queue.push(message);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user