mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 01:59:13 -04:00
Rename TPMS clock recovery, packet builders for accuracy.
This commit is contained in:
parent
65d2f263f2
commit
ad554b28b5
4 changed files with 12 additions and 11 deletions
|
@ -92,20 +92,21 @@ private:
|
|||
OOKSlicerMagSquaredInt ook_slicer_5sps { 5 };
|
||||
uint32_t slicer_history { 0 };
|
||||
|
||||
OOKClockRecovery ook_clock_recovery_subaru {
|
||||
OOKClockRecovery clock_recovery_ook_8k192 {
|
||||
channel_sample_rate / 8192.0f
|
||||
};
|
||||
|
||||
PacketBuilder<BitPattern, NeverMatch, FixedLength> packet_builder_ook_subaru {
|
||||
PacketBuilder<BitPattern, NeverMatch, FixedLength> packet_builder_schrader {
|
||||
{ 0b010101010101010101011110, 24, 0 },
|
||||
{ },
|
||||
{ 80 },
|
||||
[](const baseband::Packet& packet) {
|
||||
const TPMSPacketMessage message { tpms::SignalType::Subaru, packet };
|
||||
const TPMSPacketMessage message { tpms::SignalType::Schrader, packet };
|
||||
shared_memory.application_queue.push(message);
|
||||
}
|
||||
};
|
||||
OOKClockRecovery ook_clock_recovery_gmc {
|
||||
|
||||
OOKClockRecovery clock_recovery_ook_8k4 {
|
||||
channel_sample_rate / 8400.0f
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue