mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 19:54:39 +00:00
Shrink understood TPMS packet payload sizes to minimum required.
This commit is contained in:
parent
9e3ac94187
commit
d81d879aac
@ -80,7 +80,7 @@ private:
|
||||
PacketBuilder<BitPattern, NeverMatch, FixedLength> packet_builder {
|
||||
{ 0b010101010101010101010101010110, 30, 1 },
|
||||
{ },
|
||||
{ 256 },
|
||||
{ 160 },
|
||||
[this](const baseband::Packet& packet) {
|
||||
this->payload_handler(packet);
|
||||
}
|
||||
@ -99,7 +99,7 @@ private:
|
||||
PacketBuilder<BitPattern, NeverMatch, FixedLength> packet_builder_schrader {
|
||||
{ 0b010101010101010101011110, 24, 0 },
|
||||
{ },
|
||||
{ 80 },
|
||||
{ 74 },
|
||||
[](const baseband::Packet& packet) {
|
||||
const TPMSPacketMessage message { tpms::SignalType::Schrader, packet };
|
||||
shared_memory.application_queue.push(message);
|
||||
|
Loading…
Reference in New Issue
Block a user