mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-08 14:42:33 -04:00
TPMS: Move only FSK slicer and payload handler into .hpp.
This commit is contained in:
parent
05df04df7e
commit
a4ddf786d4
2 changed files with 6 additions and 18 deletions
|
@ -56,17 +56,3 @@ void TPMSProcessor::execute(const buffer_c8_t& buffer) {
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
void TPMSProcessor::consume_symbol(
|
||||
const float raw_symbol
|
||||
) {
|
||||
const uint_fast8_t sliced_symbol = (raw_symbol >= 0.0f) ? 1 : 0;
|
||||
packet_builder.execute(sliced_symbol);
|
||||
}
|
||||
|
||||
void TPMSProcessor::payload_handler(
|
||||
const baseband::Packet& packet
|
||||
) {
|
||||
const TPMSPacketMessage message { tpms::SignalType::FLM, packet };
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue