From c2e7f9a6f4cafa9752a7f5f90e8a65295eb134e4 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Fri, 2 Oct 2015 22:52:05 -0700 Subject: [PATCH] Shorten AIS training sequence match length. --- firmware/baseband/packet_builder.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/baseband/packet_builder.hpp b/firmware/baseband/packet_builder.hpp index 7c42f339..128cb3b6 100644 --- a/firmware/baseband/packet_builder.hpp +++ b/firmware/baseband/packet_builder.hpp @@ -99,7 +99,7 @@ private: const PayloadHandlerFunc payload_handler; BitHistory bit_history; - BitPattern preamble_pattern { 0b01010101010101010101111110, 26, 1 }; + BitPattern preamble_pattern { 0b0101010101111110, 16, 1 }; BitPattern unstuff_pattern { 0b111110, 6 }; BitPattern end_flag_pattern { 0b01111110, 8 };