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_charlesbiguator.c | |
parent | 86129fa6b1b1421babad0ecb03369ae88d2cabdb (diff) | |
download | libsurvive-3a0c6bbd603e9420ef2d8eaf9e3b71f7ddd6538a.tar.gz libsurvive-3a0c6bbd603e9420ef2d8eaf9e3b71f7ddd6538a.tar.bz2 |
Made disambiguator configurable
Diffstat (limited to 'src/survive_charlesbiguator.c')
-rw-r--r-- | src/survive_charlesbiguator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/survive_charlesbiguator.c b/src/survive_charlesbiguator.c index 8a4d71a..fbba888 100644 --- a/src/survive_charlesbiguator.c +++ b/src/survive_charlesbiguator.c @@ -45,7 +45,7 @@ static void HandleOOTX(SurviveContext *ctx, SurviveObject *so) { } // This is the disambiguator function, for taking light timing and figuring out place-in-sweep for a given photodiode. -void handle_lightcap_charlesbiguator(SurviveObject *so, LightcapElement *le) { +void DisambiguatorCharles(SurviveObject *so, LightcapElement *le) { SurviveContext *ctx = so->ctx; // static int32_t last; // printf( "%d %lu %d %d\n", le->timestamp-last, le->timestamp, le->length, le->sensor_id ); @@ -191,3 +191,5 @@ void handle_lightcap_charlesbiguator(SurviveObject *so, LightcapElement *le) { // Runt pulse, or no sync pulses available. } } + +REGISTER_LINKTIME(DisambiguatorCharles); |