mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-01-23 11:08:52 +01:00
more merge
This commit is contained in:
parent
90e4f3ea19
commit
ac3c8661a6
@ -211,11 +211,7 @@ void DCCWaveform::interrupt2() {
|
|||||||
if (sentResetsSincePacket<250) sentResetsSincePacket++;
|
if (sentResetsSincePacket<250) sentResetsSincePacket++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
<<<<<<< HEAD
|
|
||||||
}
|
}
|
||||||
=======
|
|
||||||
}
|
|
||||||
>>>>>>> master
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -292,13 +288,8 @@ void DCCWaveform::checkAck() {
|
|||||||
|
|
||||||
// detected trailing edge of pulse
|
// detected trailing edge of pulse
|
||||||
ackPulseDuration=micros()-ackPulseStart;
|
ackPulseDuration=micros()-ackPulseStart;
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
if (ackPulseDuration>3000 && ackPulseDuration<8500) {
|
|
||||||
=======
|
|
||||||
|
|
||||||
if (ackPulseDuration>=MIN_ACK_PULSE_DURATION && ackPulseDuration<=MAX_ACK_PULSE_DURATION) {
|
if (ackPulseDuration>=MIN_ACK_PULSE_DURATION && ackPulseDuration<=MAX_ACK_PULSE_DURATION) {
|
||||||
>>>>>>> master
|
|
||||||
ackCheckDuration=millis()-ackCheckStart;
|
ackCheckDuration=millis()-ackCheckStart;
|
||||||
ackDetected=true;
|
ackDetected=true;
|
||||||
ackPending=false;
|
ackPending=false;
|
||||||
|
Loading…
Reference in New Issue
Block a user