mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_RCProtocol: added support for frsky fport bidirectional telemetry
This commit is contained in:
parent
0012b83d86
commit
4dec72a230
@ -156,6 +156,9 @@ void AP_RCProtocol_FPort::decode_downlink(const FPort_Frame &frame)
|
||||
break;
|
||||
case FPORT_PRIM_READ:
|
||||
case FPORT_PRIM_WRITE:
|
||||
#if HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
|
||||
AP_Frsky_Telem::set_telem_data(frame.downlink.prim, frame.downlink.appid, le32toh_ptr(frame.downlink.data));
|
||||
#endif //HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
|
||||
// do not respond to 0x30 and 0x31
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user