1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

Removes the core in companion simu, compiled on VC++. A compiler bug? I

don't get it...
This commit is contained in:
Bertrand Songis 2014-01-14 20:06:01 +01:00
parent cedddfe8d2
commit d945052c82
4 changed files with 18 additions and 10 deletions

View file

@ -345,6 +345,11 @@ void StartMainThread(bool tests)
getcwd(simuSdDirectory, 1024);
#endif
#if defined(CPUARM)
pthread_mutex_init(&mixerMutex, NULL);
pthread_mutex_init(&audioMutex, NULL);
#endif
main_thread_running = (tests ? 1 : 2);
pthread_create(&main_thread_pid, NULL, &main_thread, NULL);
}