diff --git a/test/linux/eoe_test/eoe_test.c b/test/linux/eoe_test/eoe_test.c index 98f8997c..58c80487 100644 --- a/test/linux/eoe_test/eoe_test.c +++ b/test/linux/eoe_test/eoe_test.c @@ -404,8 +404,7 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ -// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); /* start cyclic part */ teststarter(argv[1]); diff --git a/test/linux/simple_test/simple_test.c b/test/linux/simple_test/simple_test.c index d4721464..8b9f70d1 100644 --- a/test/linux/simple_test/simple_test.c +++ b/test/linux/simple_test/simple_test.c @@ -235,8 +235,7 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ -// pthread_create( &thread1, NULL, (void *) &ecatcheck, (void*) &ctime); - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); /* start cyclic part */ simpletest(argv[1]); } diff --git a/test/win32/simple_test/simple_test.c b/test/win32/simple_test/simple_test.c index d38fbeba..5cb1c191 100644 --- a/test/win32/simple_test/simple_test.c +++ b/test/win32/simple_test/simple_test.c @@ -350,7 +350,7 @@ int main(int argc, char *argv[]) if (argc > 1) { /* create thread to handle slave error handling in OP */ - osal_thread_create(&thread1, 128000, &ecatcheck, (void*) &ctime); + osal_thread_create(&thread1, 128000, &ecatcheck, NULL); strcpy(ifbuf, argv[1]); /* start cyclic part */ simpletest(ifbuf);