From 1c0f4c0ed344512153dd48941409f68bd751045a Mon Sep 17 00:00:00 2001 From: Julian Picht Date: Tue, 27 Dec 2016 00:27:15 +0100 Subject: disambiguator tool output update --- src/disambiguator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/disambiguator.c b/src/disambiguator.c index 164724e..85e1645 100644 --- a/src/disambiguator.c +++ b/src/disambiguator.c @@ -161,6 +161,7 @@ pulse_type disambiguator_step( struct disambiguator * d, uint32_t time, int leng d->state = D_STATE_LOCKED; } + // if the offset is about 20000 ticks, then this is a slave pulse if (diff < 21000) { return d->state == D_STATE_LOCKED ? P_SLAVE : P_UNKNOWN; } -- cgit v1.2.3