diff options
author | Michael Turvey <mwturvey@users.noreply.github.com> | 2017-12-19 23:36:46 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-19 23:36:46 -0700 |
commit | 7c883ad2f01a452b3a0664deed12c0121429092a (patch) | |
tree | 5a47b9c9403ac2d37dee3b449cd5d353d47014fd /calibrate.c | |
parent | e5a9bff729fb0c596daed5cdf45683e11c666766 (diff) | |
parent | a015a5bc3631f813281c5af85a29b9d84a3eb924 (diff) | |
download | libsurvive-7c883ad2f01a452b3a0664deed12c0121429092a.tar.gz libsurvive-7c883ad2f01a452b3a0664deed12c0121429092a.tar.bz2 |
Merge pull request #82 from mwturvey/SupportOneLighthouse
Add support for using only 1 lighthouse
Diffstat (limited to 'calibrate.c')
-rw-r--r-- | calibrate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calibrate.c b/calibrate.c index 15c362c..88f8288 100644 --- a/calibrate.c +++ b/calibrate.c @@ -14,6 +14,7 @@ struct SurviveContext * ctx; int quit = 0; +static LighthouseCount = 0; void HandleKey( int keycode, int bDown ) { @@ -343,6 +344,7 @@ void * SurviveThread(void *jnk) { ctx = survive_init( 0 ); + uint8_t i =0; for (i=0;i<32;++i) { sensor_name[i] = malloc(3); |