HAL_ChibiOS: fixed skyviper-v2450 build
This commit is contained in:
parent
ca82c6af6c
commit
6489623499
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user