aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorultramn <dchapm2@umbc.edu>2017-03-02 19:55:54 -0800
committerultramn <dchapm2@umbc.edu>2017-03-02 19:55:54 -0800
commita59f42935a7472da7b9f162a68b3c55aff128f7e (patch)
treee4bf6314161bbabbde6064d8b7fdb9335a764ca6 /test.c
parent1c131c03fe8c5d5ab17193c9f6e7e79d81110d52 (diff)
parent9d1b1d09ed51344c8ca7b4f0a94f5841ee2c509e (diff)
downloadlibsurvive-a59f42935a7472da7b9f162a68b3c55aff128f7e.tar.gz
libsurvive-a59f42935a7472da7b9f162a68b3c55aff128f7e.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.