aboutsummaryrefslogtreecommitdiff
path: root/src/survive_process.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2016-12-02 02:38:51 -0500
committercnlohr <lohr85@gmail.com>2016-12-02 02:38:51 -0500
commit49d3a3690d63104508827c30da1c49fb38313632 (patch)
tree11cf3bdd2954de16fc14f7a52d665a8ae7cdf4b2 /src/survive_process.c
parentbf87e5dbcffd65997292433041e664d001dbff8d (diff)
downloadlibsurvive-49d3a3690d63104508827c30da1c49fb38313632.tar.gz
libsurvive-49d3a3690d63104508827c30da1c49fb38313632.tar.bz2
Remove os_generic, go back into normal troubleshooting.
Diffstat (limited to 'src/survive_process.c')
-rw-r--r--src/survive_process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/survive_process.c b/src/survive_process.c
index c344306..07fb990 100644
--- a/src/survive_process.c
+++ b/src/survive_process.c
@@ -3,12 +3,12 @@
void survive_light_process( struct SurviveObject * so, int sensor_id, int acode, int timeinsweep, uint32_t timecode )
{
//timeinsweep = 200,000 1/48,000,000ths of a second is "center-of-image"
- printf( "L %s %d %d %d %d\n", so->codename, timecode, sensor_id, acode, timeinsweep );
+ //printf( "L %s %d %d %d %d\n", so->codename, timecode, sensor_id, acode, timeinsweep );
}
void survive_imu_process( struct SurviveObject * so, int16_t * accelgyro, uint32_t timecode, int id )
{
- if( so->codename[0] == 'H' )
+ if( so->codename[0] != 'H' )
{
printf( "I %s %d %d %d %d %d %d %d %d\n", so->codename, timecode, accelgyro[0], accelgyro[1], accelgyro[2], accelgyro[3], accelgyro[4], accelgyro[5], id );
}