aboutsummaryrefslogtreecommitdiff
path: root/src/survive_data.c
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-03-23 12:13:44 -0700
committermwturvey <michael.w.turvey@intel.com>2017-03-23 12:13:44 -0700
commitf33018188bf5bdf6f6b8af0d646e3f8c519d9d71 (patch)
treeb94e358bcf65076fb533cd26efdc95fe21753102 /src/survive_data.c
parent78b7b6fb520c287caecbe895501898ef5c1440a5 (diff)
downloadlibsurvive-f33018188bf5bdf6f6b8af0d646e3f8c519d9d71.tar.gz
libsurvive-f33018188bf5bdf6f6b8af0d646e3f8c519d9d71.tar.bz2
Added support for empty string in config.json & other cleanup.
Diffstat (limited to 'src/survive_data.c')
-rw-r--r--src/survive_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/survive_data.c b/src/survive_data.c
index ee180b1..da4e0a2 100644
--- a/src/survive_data.c
+++ b/src/survive_data.c
@@ -372,7 +372,7 @@ void handle_lightcap( SurviveObject * so, LightcapElement * le )
int32_t main_divisor = so->timebase_hz / 384000; //125 @ 48 MHz.
int base_station = is_new_pulse;
//printf( "%s %d %d %d\n", so->codename, le->sensor_id, so->sync_set_number, le->length );
- ctx->lightproc( so, le->sensor_id, -3 - so->sync_set_number, 0, le->timestamp, le->length );
+ ctx->lightproc( so, le->sensor_id, -3 - so->sync_set_number, 0, le->timestamp, le->length, base_station);
}
}