mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: fixed skyviper-v2450 build
This commit is contained in:
parent
d3230c8a6a
commit
f5aa9d5e58
|
@ -133,7 +133,7 @@ uint8_t RCInput::read(uint16_t* periods, uint8_t len)
|
|||
memcpy(periods, _rc_values, len*sizeof(periods[0]));
|
||||
}
|
||||
#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
|
||||
radio->update();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue