mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
AP_HAL_ChibiOS: allow forcing of trigger_groups()
This commit is contained in:
1 parent
76897e9674
commit
048a3af785
2 files changed
+9
-1
No files matched your search
@@ -1398,7 +1398,8 @@ void RCOutput::trigger_groups()
|
||||
osalSysUnlock();
|
||||
#if !defined(HAL_NO_RCOUT_THREAD) || HAL_DSHOT_ENABLED
|
||||
// trigger a PWM send
|
||||
if (!in_soft_serial() && hal.scheduler->in_main_thread() && rcout_thread_ctx) {
|
||||
if (!in_soft_serial() &&
|
||||
(hal.scheduler->in_main_thread() || force_trigger) && rcout_thread_ctx) {
|
||||
chEvtSignal(rcout_thread_ctx, EVT_PWM_SEND);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user