mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:28:53 +08:00
sensors and px4io driver: Guard against failsafe trigger for inverted remotes
This commit is contained in:
@@ -948,8 +948,8 @@ PX4IO::task_main()
|
||||
}
|
||||
|
||||
/* send RC throttle failsafe value to IO */
|
||||
float failsafe_param_val;
|
||||
param_t failsafe_param = param_find("RC_FS_THR");
|
||||
int32_t failsafe_param_val;
|
||||
param_t failsafe_param = param_find("RC_FAILS_THR");
|
||||
|
||||
if (failsafe_param > 0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user