mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 01:31:37 +08:00
FMU driver: Better RC reporting
This commit is contained in:
@@ -838,7 +838,7 @@ PX4FMU::cycle()
|
|||||||
_rc_in.rssi = (!sbus_frame_drop) ? RC_INPUT_RSSI_MAX : 0;
|
_rc_in.rssi = (!sbus_frame_drop) ? RC_INPUT_RSSI_MAX : 0;
|
||||||
_rc_in.rc_failsafe = false;
|
_rc_in.rc_failsafe = false;
|
||||||
_rc_in.rc_lost = false;
|
_rc_in.rc_lost = false;
|
||||||
_rc_in.rc_lost_frame_count = 0;
|
_rc_in.rc_lost_frame_count = sbus_dropped_frames();
|
||||||
_rc_in.rc_total_frame_count = 0;
|
_rc_in.rc_total_frame_count = 0;
|
||||||
|
|
||||||
rc_updated = true;
|
rc_updated = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user