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

Missing initialization in simulator. Does if fix #937?

This commit is contained in:
bsongis 2014-04-06 10:55:56 +02:00
parent ae3f207140
commit e1e15787c5
2 changed files with 6 additions and 2 deletions

View file

@ -350,6 +350,8 @@ void StartMainThread(bool tests)
pthread_mutex_init(&audioMutex, NULL);
#endif
g_tmr10ms = 0;
main_thread_running = (tests ? 1 : 2);
pthread_create(&main_thread_pid, NULL, &main_thread, NULL);
}