From 6035e4d9ad615bee68c04142acd52551f3e694b6 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Fri, 25 Sep 2020 22:27:37 +0200 Subject: [PATCH] Set preamblebits main to 16 and remove all preamble config from config.h --- DCCWaveform.h | 2 +- config.example.h | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/DCCWaveform.h b/DCCWaveform.h index 96e5887..b1c6f7d 100644 --- a/DCCWaveform.h +++ b/DCCWaveform.h @@ -30,7 +30,7 @@ const int MIN_ACK_PULSE_DURATION = 2000; const int MAX_ACK_PULSE_DURATION = 8500; -const int PREAMBLE_BITS_MAIN = 20; +const int PREAMBLE_BITS_MAIN = 16; const int PREAMBLE_BITS_PROG = 22; diff --git a/config.example.h b/config.example.h index 33845f4..d8fd4ba 100644 --- a/config.example.h +++ b/config.example.h @@ -110,17 +110,6 @@ The configuration file for DCC++ EX Command Station #define SHOW_CONFIG_DETAIL_PIN A2 -///////////////////////////////////////////////////////////////////////////////////// -// -// PREAMBLE_MAIN: Length of the preamble on the main track. Per standard this should -// be at least 14 bits but if some equipment wants to insert a RailCom -// cutout this should be at least 16 bits. -// PERAMBLE_PROG: Length of the preamble on the programming track. Per standard this -// should be at least 22 bits - -#define PREAMBLE_MAIN 16 // TODO: Finish configurable preamble code -#define PREAMBLE_PROG 22 - ///////////////////////////////////////////////////////////////////////////////////// // // DEFINE LCD SCREEN USAGE BY THE BASE STATION