Sensors timeout simulated in SIMU mode
This commit is contained in:
@@ -341,6 +341,9 @@ void *main_thread(void *)
|
|||||||
while (main_thread_running) {
|
while (main_thread_running) {
|
||||||
#if defined(CPUARM)
|
#if defined(CPUARM)
|
||||||
doMixerCalculations();
|
doMixerCalculations();
|
||||||
|
#if defined(FRSKY) || defined(MAVLINK)
|
||||||
|
telemetryWakeup();
|
||||||
|
#endif
|
||||||
checkTrims();
|
checkTrims();
|
||||||
#endif
|
#endif
|
||||||
perMain();
|
perMain();
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ void mixerTask(void * pdata)
|
|||||||
doMixerCalculations();
|
doMixerCalculations();
|
||||||
CoLeaveMutexSection(mixerMutex);
|
CoLeaveMutexSection(mixerMutex);
|
||||||
|
|
||||||
#if defined(FRSKY) || defined(MAVLINK) || defined(SIMU)
|
#if defined(FRSKY) || defined(MAVLINK)
|
||||||
telemetryWakeup();
|
telemetryWakeup();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -212,4 +212,4 @@ void tasksStart()
|
|||||||
CoStartOS();
|
CoStartOS();
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // #if !defined(SIMU)
|
#endif // #if !defined(SIMU)
|
||||||
|
|||||||
Reference in New Issue
Block a user