From 62cef8aec06638bd006eaef46700f491750fc108 Mon Sep 17 00:00:00 2001 From: Joshua Allen Date: Wed, 15 Mar 2017 19:24:26 -0400 Subject: rename variables --- include/libsurvive/survive.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index 5f2d711..fb69582 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -50,8 +50,8 @@ struct SurviveObject int8_t oldcode; int8_t sync_set_number; //0 = master, 1 = slave, -1 = fault. int8_t did_handle_ootx; //If unset, will send lightcap data for sync pulses next time a sensor is hit. - uint32_t last_time[NUM_LIGHTHOUSES]; - uint32_t last_length[NUM_LIGHTHOUSES]; + uint32_t last_sync_time[NUM_LIGHTHOUSES]; + uint32_t last_sync_length[NUM_LIGHTHOUSES]; uint32_t recent_sync_time; uint32_t last_lighttime; //May be a 24- or 32- bit number depending on what device. -- cgit v1.2.3 From 23139f5a92d89be80b066e4dc71f27952bd284ca Mon Sep 17 00:00:00 2001 From: CNLohr Date: Thu, 16 Mar 2017 03:58:45 -0400 Subject: Fix lighthouse capture mechanism to match new valve. --- include/libsurvive/survive.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h index 132480f..e6bc68d 100644 --- a/include/libsurvive/survive.h +++ b/include/libsurvive/survive.h @@ -154,7 +154,6 @@ void survive_add_driver( SurviveContext * ctx, void * payload, DeviceDriverCb po typedef struct { uint8_t sensor_id; - uint8_t type; //Mostly unused. Set to 255 to ignore it. uint16_t length; uint32_t timestamp; } __attribute__((packed)) LightcapElement; -- cgit v1.2.3