HAL_ChibiOS: fixed skyviper-v2450 build

This commit is contained in:
Andrew Tridgell 2020-02-02 08:14:20 +11:00
parent d3230c8a6a
commit f5aa9d5e58
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ uint8_t RCInput::read(uint16_t* periods, uint8_t len)
memcpy(periods, _rc_values, len*sizeof(periods[0])); memcpy(periods, _rc_values, len*sizeof(periods[0]));
} }
#if HAL_RCINPUT_WITH_AP_RADIO #if HAL_RCINPUT_WITH_AP_RADIO
if (radio && channel == 0) { if (radio) {
// hook to allow for update of radio on main thread, for mavlink sends // hook to allow for update of radio on main thread, for mavlink sends
radio->update(); radio->update();
} }