diff --git a/TestScripts/C Tests/main.c b/TestScripts/C Tests/main.c index 04f7037..0a536bb 100644 --- a/TestScripts/C Tests/main.c +++ b/TestScripts/C Tests/main.c @@ -9,6 +9,7 @@ #include #include #include +#include #include "xplaneconnect.h" int testFailed = 0; @@ -281,7 +282,7 @@ short sendCTRLTest() // sendCTRL test { if (fabs(recDATA[i][0]-CTRL[i])>1e-4) { - return -i; + return -i - 1; } }