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:
parent
ae3f207140
commit
e1e15787c5
2 changed files with 6 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue