mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed build of f3 boards without PWM out
This commit is contained in:
parent
98abe125ad
commit
14791c335b
|
@ -346,9 +346,11 @@ void Scheduler::_rcout_thread(void *arg)
|
||||||
while (!sched->_hal_initialized) {
|
while (!sched->_hal_initialized) {
|
||||||
sched->delay_microseconds(1000);
|
sched->delay_microseconds(1000);
|
||||||
}
|
}
|
||||||
|
#if HAL_USE_PWM == TRUE
|
||||||
// trampoline into the rcout thread
|
// trampoline into the rcout thread
|
||||||
((RCOutput*)hal.rcout)->rcout_thread();
|
((RCOutput*)hal.rcout)->rcout_thread();
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue