diff options
author | ultramn <dchapm2@umbc.edu> | 2017-03-02 19:55:54 -0800 |
---|---|---|
committer | ultramn <dchapm2@umbc.edu> | 2017-03-02 19:55:54 -0800 |
commit | a59f42935a7472da7b9f162a68b3c55aff128f7e (patch) | |
tree | e4bf6314161bbabbde6064d8b7fdb9335a764ca6 /data_recorder.c | |
parent | 1c131c03fe8c5d5ab17193c9f6e7e79d81110d52 (diff) | |
parent | 9d1b1d09ed51344c8ca7b4f0a94f5841ee2c509e (diff) | |
download | libsurvive-a59f42935a7472da7b9f162a68b3c55aff128f7e.tar.gz libsurvive-a59f42935a7472da7b9f162a68b3c55aff128f7e.tar.bz2 |
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'data_recorder.c')
-rw-r--r-- | data_recorder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/data_recorder.c b/data_recorder.c index ced82c4..951f234 100644 --- a/data_recorder.c +++ b/data_recorder.c @@ -17,11 +17,11 @@ void HandleKey( int keycode, int bDown ) if( keycode == 'O' || keycode == 'o' ) { - survive_usb_send_magic(ctx,1); + survive_send_magic(ctx,1,0,0); } if( keycode == 'F' || keycode == 'f' ) { - survive_usb_send_magic(ctx,0); + survive_send_magic(ctx,0,0,0); } } @@ -81,7 +81,7 @@ void my_imu_process( struct SurviveObject * so, int16_t * accelgyro, uint32_t ti { survive_default_imu_process( so, accelgyro, timecode, id ); -return; +//return; //if( so->codename[0] == 'H' ) if( 1 ) { @@ -132,7 +132,7 @@ void * GuiThread( void * v ) int main() { - ctx = survive_init( ); + ctx = survive_init( 0 ); survive_install_light_fn( ctx, my_light_process ); survive_install_imu_fn( ctx, my_imu_process ); |