mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-04-01 19:20:12 +02:00
ACK defaults now 50-2000-20000
This commit is contained in:
parent
17eb7c560e
commit
431208d191
@ -157,7 +157,7 @@ class DCCWaveform {
|
|||||||
volatile bool ackPending;
|
volatile bool ackPending;
|
||||||
volatile bool ackDetected;
|
volatile bool ackDetected;
|
||||||
int ackThreshold;
|
int ackThreshold;
|
||||||
int ackLimitmA = 60;
|
int ackLimitmA = 50;
|
||||||
int ackMaxCurrent;
|
int ackMaxCurrent;
|
||||||
unsigned long ackCheckStart; // millis
|
unsigned long ackCheckStart; // millis
|
||||||
unsigned int ackCheckDuration; // millis
|
unsigned int ackCheckDuration; // millis
|
||||||
@ -165,8 +165,8 @@ class DCCWaveform {
|
|||||||
unsigned int ackPulseDuration; // micros
|
unsigned int ackPulseDuration; // micros
|
||||||
unsigned long ackPulseStart; // micros
|
unsigned long ackPulseStart; // micros
|
||||||
|
|
||||||
unsigned int minAckPulseDuration = 4000; // micros
|
unsigned int minAckPulseDuration = 2000; // micros
|
||||||
unsigned int maxAckPulseDuration = 8500; // micros
|
unsigned int maxAckPulseDuration = 20000; // micros
|
||||||
|
|
||||||
volatile static uint8_t numAckGaps;
|
volatile static uint8_t numAckGaps;
|
||||||
volatile static uint8_t numAckSamples;
|
volatile static uint8_t numAckSamples;
|
||||||
|
Loading…
Reference in New Issue
Block a user