summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwct4xxp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wct4xxp.c b/wct4xxp.c
index 3563880..911dbeb 100755
--- a/wct4xxp.c
+++ b/wct4xxp.c
@@ -675,7 +675,7 @@ static void __t4_set_timing_source_auto(struct t4 *wc)
for (x=0;x<4;x++) {
if (wc->syncs[x]) {
if ((wc->spans[wc->syncs[x] - 1].flags & ZT_FLAG_RUNNING) &&
- !(wc->spans[wc->syncs[x] - 1].alarms)) {
+ !(wc->spans[wc->syncs[x] - 1].alarms & ~(ZT_ALARM_YELLOW))) {
/* Valid timing sourc e*/
__t4_set_timing_source(wc, wc->syncs[x] - 1);
return;