aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authormwturvey <michael.w.turvey@intel.com>2017-02-27 11:26:05 -0700
committermwturvey <michael.w.turvey@intel.com>2017-02-27 11:26:05 -0700
commit321749a4b8e3e8b3f4b03863200fbf86e36a0bbe (patch)
treeb7d81c89b3a4ccb72d46e5194929b47df88345b7 /test.c
parentd1a02d649c034f43a11548a04d8d2a58786ff8ff (diff)
parent51751d4a9f407f526de2b626d44e14690fbef004 (diff)
downloadlibsurvive-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index 17fa7f3..9dc3631 100644
--- a/test.c
+++ b/test.c
@@ -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.