HAL_ChibiOS: fixed build of f3 boards without PWM out

This commit is contained in:
Andrew Tridgell committed 2021-02-24 18:25:02 +11:00
1 parent 98abe125ad
commit 14791c335b
1 file changed
+2
+2
View File
@@ -346,9 +346,11 @@ void Scheduler::_rcout_thread(void *arg)
while (!sched->_hal_initialized) {
sched->delay_microseconds(1000);
}
#if HAL_USE_PWM == TRUE
// trampoline into the rcout thread
((RCOutput*)hal.rcout)->rcout_thread();
#endif
#endif
}
/*