aboutsummaryrefslogtreecommitdiff
path: root/src/survive.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2016-11-30 23:55:04 -0500
committercnlohr <lohr85@gmail.com>2016-11-30 23:55:04 -0500
commit7930400aaca31089be48fe077d0c591294d727a5 (patch)
tree8f9119efa9ce24dc12e23eb0d564ba9281e10411 /src/survive.c
parent8b77db6280c6d832eb89455e1b30877454a9a5a1 (diff)
downloadlibsurvive-7930400aaca31089be48fe077d0c591294d727a5.tar.gz
libsurvive-7930400aaca31089be48fe077d0c591294d727a5.tar.bz2
Update the thing to get a specific tag
Diffstat (limited to 'src/survive.c')
-rw-r--r--src/survive.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/survive.c b/src/survive.c
index 6fa6fb3..97493a0 100644
--- a/src/survive.c
+++ b/src/survive.c
@@ -14,6 +14,9 @@ struct SurviveContext * survive_init( void(*ff)( struct SurviveContext * ctx, co
return 0;
}
+ ret->headset.sensors = 32;
+ ret->headset.ctx = ret;
+ //ret->headset->photos = malloc( ret->headset->sensors * sizeof(struct SurvivePhoto) );
return ret;
}