From 43bac3f78e5d5dda7586db982055e1385173a1c5 Mon Sep 17 00:00:00 2001 From: Ash-4 <81280775+Ash-4@users.noreply.github.com> Date: Fri, 29 Apr 2022 19:24:56 -0500 Subject: [PATCH] ACK defaults now 50-2000-20000 --- DCCACK.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DCCACK.cpp b/DCCACK.cpp index 7c159b8..de66355 100644 --- a/DCCACK.cpp +++ b/DCCACK.cpp @@ -27,8 +27,8 @@ #include "DCCWaveform.h" #include "TrackManager.h" -unsigned int DCCACK::minAckPulseDuration = 4000; // micros -unsigned int DCCACK::maxAckPulseDuration = 8500; // micros +unsigned int DCCACK::minAckPulseDuration = 2000; // micros +unsigned int DCCACK::maxAckPulseDuration = 20000; // micros MotorDriver * DCCACK::progDriver=NULL; ackOp const * DCCACK::ackManagerProg; @@ -57,7 +57,7 @@ uint8_t DCCACK::trailingEdgeCounter=0; volatile bool DCCACK::ackPending; bool DCCACK::autoPowerOff; int DCCACK::ackThreshold; - int DCCACK::ackLimitmA; + int DCCACK::ackLimitmA = 50; int DCCACK::ackMaxCurrent; unsigned int DCCACK::ackCheckDuration; // millis