mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 05:23:33 +08:00
rc_update: only decode if RC input is stable (channel count and source)
This commit is contained in:
@@ -167,6 +167,7 @@ private:
|
||||
hrt_abstime _last_rc_to_param_map_time = 0;
|
||||
|
||||
uint8_t _channel_count_previous{0};
|
||||
uint8_t _input_source_previous{input_rc_s::RC_INPUT_SOURCE_UNKNOWN};
|
||||
|
||||
perf_counter_t _loop_perf; /**< loop performance counter */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user