diff options
author | Julian Picht <julian.picht@gmail.com> | 2016-12-27 00:27:15 +0100 |
---|---|---|
committer | Julian Picht <julian.picht@gmail.com> | 2016-12-27 01:11:10 +0100 |
commit | 1c0f4c0ed344512153dd48941409f68bd751045a (patch) | |
tree | 92138098ad028c4626ae3fcdc3023cacf6278f84 /src | |
parent | 5a1236b603b6882be2ae3af11936d135bf31b7bd (diff) | |
download | libsurvive-1c0f4c0ed344512153dd48941409f68bd751045a.tar.gz libsurvive-1c0f4c0ed344512153dd48941409f68bd751045a.tar.bz2 |
disambiguator tool output update
Diffstat (limited to 'src')
-rw-r--r-- | src/disambiguator.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |