aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authorAbhijeet Vhotkar <abhijeetvhotkar@gmail.com>2018-03-10 18:16:29 -0500
committerGitHub <noreply@github.com>2018-03-10 18:16:29 -0500
commit9a34826efbab3d5fa9dbb9cf837c392395c7ef79 (patch)
tree6011fe431de4393c9212b4d5db78759080d65509 /src/survive_cal.h
parente5a9bff729fb0c596daed5cdf45683e11c666766 (diff)
parentc687e3ea63a5d974fd35feb07fe7fb87d4375e6a (diff)
downloadlibsurvive-9a34826efbab3d5fa9dbb9cf837c392395c7ef79.tar.gz
libsurvive-9a34826efbab3d5fa9dbb9cf837c392395c7ef79.tar.bz2
Merge pull request #1 from cnlohr/master
Pulling new changes
Diffstat (limited to 'src/survive_cal.h')
-rw-r--r--src/survive_cal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/survive_cal.h b/src/survive_cal.h
index ae644d1..f5ef6dc 100644
--- a/src/survive_cal.h
+++ b/src/survive_cal.h
@@ -51,14 +51,14 @@ struct SurviveCalData
ootx_decoder_context ootx_decoders[NUM_LIGHTHOUSES];
//For statistics-gathering phase. (Stage 2/3)
- FLT all_lengths[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][2][DRPTS];
- FLT all_angles[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][2][DRPTS];
+ FLT all_lengths[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][2][DRPTS + 1];
+ FLT all_angles[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][2][DRPTS + 1];
int16_t all_counts[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][2];
int16_t peak_counts;
int8_t found_common;
int8_t times_found_common;
- FLT all_sync_times[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][DRPTS];
+ FLT all_sync_times[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES][DRPTS + 1];
int16_t all_sync_counts[MAX_SENSORS_TO_CAL][NUM_LIGHTHOUSES];
//For camfind (4+)