aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Allen <axlecrusher@gmail.com>2017-03-15 19:24:26 -0400
committerJoshua Allen <axlecrusher@gmail.com>2017-03-15 19:24:26 -0400
commit62cef8aec06638bd006eaef46700f491750fc108 (patch)
treeb0368fac0b52e9012ce35335f17ec2a022848961 /include
parenta630cc4252f3a64ca89e40fb726f103789734baa (diff)
downloadlibsurvive-62cef8aec06638bd006eaef46700f491750fc108.tar.gz
libsurvive-62cef8aec06638bd006eaef46700f491750fc108.tar.bz2
rename variables
Diffstat (limited to 'include')
-rw-r--r--include/libsurvive/survive.h4
1 files changed, 2 insertions, 2 deletions
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.