1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-23 16:25:16 +03:00

Sensors timeout simulated in SIMU mode

This commit is contained in:
bsongis 2015-01-26 18:58:24 +01:00
parent 215af55a2e
commit 23b373f80c
2 changed files with 5 additions and 2 deletions

View file

@ -341,6 +341,9 @@ void *main_thread(void *)
while (main_thread_running) {
#if defined(CPUARM)
doMixerCalculations();
#if defined(FRSKY) || defined(MAVLINK)
telemetryWakeup();
#endif
checkTrims();
#endif
perMain();

View file

@ -132,7 +132,7 @@ void mixerTask(void * pdata)
doMixerCalculations();
CoLeaveMutexSection(mixerMutex);
#if defined(FRSKY) || defined(MAVLINK) || defined(SIMU)
#if defined(FRSKY) || defined(MAVLINK)
telemetryWakeup();
#endif
@ -212,4 +212,4 @@ void tasksStart()
CoStartOS();
}
#endif // #if !defined(SIMU)
#endif // #if !defined(SIMU)