diff options
author | mwturvey <michael.w.turvey@intel.com> | 2017-02-27 11:26:05 -0700 |
---|---|---|
committer | mwturvey <michael.w.turvey@intel.com> | 2017-02-27 11:26:05 -0700 |
commit | 321749a4b8e3e8b3f4b03863200fbf86e36a0bbe (patch) | |
tree | b7d81c89b3a4ccb72d46e5194929b47df88345b7 /test.c | |
parent | d1a02d649c034f43a11548a04d8d2a58786ff8ff (diff) | |
parent | 51751d4a9f407f526de2b626d44e14690fbef004 (diff) | |
download | libsurvive-321749a4b8e3e8b3f4b03863200fbf86e36a0bbe.tar.gz libsurvive-321749a4b8e3e8b3f4b03863200fbf86e36a0bbe.tar.bz2 |
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ int main() int magicon = 0; double Start = OGGetAbsoluteTime(); - ctx = survive_init( ); + ctx = survive_init( 0 ); if( !ctx ) { @@ -59,7 +59,7 @@ int main() double Now = OGGetAbsoluteTime(); if( Now > (Start+1) && !magicon ) { - survive_usb_send_magic(ctx,1); + survive_send_magic(ctx,1,0,0); magicon = 1; } //Do stuff. |