HAL_ChibiOS: fixed build

This commit is contained in:
Andrew Tridgell 2020-01-29 17:44:53 +11:00
parent 71503a1b9d
commit 05f095f338

View File

@ -147,13 +147,13 @@ void RCInput::_timer_tick(void)
if (!_init) {
return;
}
AP_RCProtocol &rcprot = AP::RC();
#ifndef HAL_NO_UARTDRIVER
const char *rc_protocol = nullptr;
#endif
#ifndef HAL_BUILD_AP_PERIPH
AP_RCProtocol &rcprot = AP::RC();
#if HAL_USE_ICU == TRUE
if (pulse_input_enabled) {
const uint32_t *p;