diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-22 09:51:01 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-22 09:53:51 -0600 |
commit | 3a0c6bbd603e9420ef2d8eaf9e3b71f7ddd6538a (patch) | |
tree | 8c214b1c4096bb9fc98388b7a20ca7c3310b5684 /src/survive_turveybiguator.c | |
parent | 86129fa6b1b1421babad0ecb03369ae88d2cabdb (diff) | |
download | libsurvive-3a0c6bbd603e9420ef2d8eaf9e3b71f7ddd6538a.tar.gz libsurvive-3a0c6bbd603e9420ef2d8eaf9e3b71f7ddd6538a.tar.bz2 |
Made disambiguator configurable
Diffstat (limited to 'src/survive_turveybiguator.c')
-rw-r--r-- | src/survive_turveybiguator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/survive_turveybiguator.c b/src/survive_turveybiguator.c index bc69938..8dbce46 100644 --- a/src/survive_turveybiguator.c +++ b/src/survive_turveybiguator.c @@ -282,7 +282,6 @@ static void handle_lightcap2_sync(SurviveObject *so, LightcapElement *le) { // static unsigned int recent_sync_time = 0; // static unsigned int recent_sync_count = -1; // static unsigned int activeSweepStartTime; - int acode = handle_lightcap2_getAcodeFromSyncPulse(so, le->length); // acode for this sensor reading // Process any sweep data we have @@ -435,7 +434,7 @@ static void handle_lightcap2_sweep(SurviveObject *so, LightcapElement *le) { } } -void handle_lightcap_turveybiguator(SurviveObject *so, LightcapElement *le) { +void DisambiguatorTurvey(SurviveObject *so, LightcapElement *le) { SurviveContext *ctx = so->ctx; if (so->disambiguator_data == NULL) { @@ -463,3 +462,4 @@ void handle_lightcap_turveybiguator(SurviveObject *so, LightcapElement *le) { handle_lightcap2_sweep(so, le); } +REGISTER_LINKTIME(DisambiguatorTurvey); |