mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-21 05:28:12 +00:00
Abstract packet type/implementation details.
This commit is contained in:
@@ -60,11 +60,9 @@ void AISProcessor::consume_symbol(
|
||||
}
|
||||
|
||||
void AISProcessor::payload_handler(
|
||||
const std::bitset<1024>& payload,
|
||||
const size_t bits_received
|
||||
const ::Packet& packet
|
||||
) {
|
||||
AISPacketMessage message;
|
||||
message.packet.payload = payload;
|
||||
message.packet.bits_received = bits_received;
|
||||
message.packet.packet = packet;
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user