mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 00:33:34 +08:00
fix the function of disabling safety switch (#5031)
This commit is contained in:
@@ -1126,7 +1126,7 @@ PX4IO::task_main()
|
||||
}
|
||||
|
||||
int32_t safety_param_val;
|
||||
param_t safety_param = param_find("RC_FAILS_THR");
|
||||
param_t safety_param = param_find("CBRK_IO_SAFETY");
|
||||
|
||||
if (safety_param != PARAM_INVALID) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user