Distinguish between set/reset delays when possible.
This commit is contained in:
parent
afb5dcbffb
commit
bda5d3f845
|
|
@ -2688,10 +2688,11 @@ static char *get_delays_ueff(char *rem)
|
||||||
}
|
}
|
||||||
setd = NULL;
|
setd = NULL;
|
||||||
resetd = NULL;
|
resetd = NULL;
|
||||||
|
/* pcqrise is set_delay, pcqfall is reset_delay */
|
||||||
if (pcqrise && strlen(pcqrise) > 0) {
|
if (pcqrise && strlen(pcqrise) > 0) {
|
||||||
if (pcqfall && strlen(pcqfall) > 0) {
|
if (pcqfall && strlen(pcqfall) > 0) {
|
||||||
larger = larger_delay(pcqrise, pcqfall);
|
setd = pcqrise;
|
||||||
setd = resetd = larger;
|
resetd = pcqfall;
|
||||||
} else {
|
} else {
|
||||||
setd = resetd = pcqrise;
|
setd = resetd = pcqrise;
|
||||||
}
|
}
|
||||||
|
|
@ -2791,10 +2792,11 @@ static char *get_delays_ugff(char *rem, char *d_name)
|
||||||
}
|
}
|
||||||
setd = NULL;
|
setd = NULL;
|
||||||
resetd = NULL;
|
resetd = NULL;
|
||||||
|
/* tppcqlh is set_delay, tppcqhl is reset_delay */
|
||||||
if (tppcqlh && strlen(tppcqlh) > 0) {
|
if (tppcqlh && strlen(tppcqlh) > 0) {
|
||||||
if (tppcqhl && strlen(tppcqhl) > 0) {
|
if (tppcqhl && strlen(tppcqhl) > 0) {
|
||||||
larger = larger_delay(tppcqlh, tppcqhl);
|
setd = tppcqlh;
|
||||||
setd = resetd = larger;
|
resetd = tppcqhl;
|
||||||
} else {
|
} else {
|
||||||
setd = resetd = tppcqlh;
|
setd = resetd = tppcqlh;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue