mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 15:08:52 +08:00
px4io only update params and bind if not armed
This commit is contained in:
committed by
Lorenz Meier
parent
f748b38b3a
commit
8d39f4e4a1
@@ -994,7 +994,7 @@ PX4IO::task_main()
|
||||
}
|
||||
}
|
||||
|
||||
if (now >= orb_check_last + ORB_CHECK_INTERVAL) {
|
||||
if (!_armed && (now >= orb_check_last + ORB_CHECK_INTERVAL)) {
|
||||
/* run at 5Hz */
|
||||
orb_check_last = now;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user