mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-29 11:40:28 +08:00
fixing travis CI build
This commit is contained in:
1 parent
55f023b771
commit
42e04d4c11
1 file changed
+1
-1
@@ -99,7 +99,7 @@ void FollowTarget::on_activation()
|
||||
|
||||
_follow_target_position = (FollowTargetPosition) _param_tracking_side.get();
|
||||
|
||||
if((_follow_target_position > 3) || (_follow_target_position < 0)) {
|
||||
if((_follow_target_position > FOLLOW_FROM_LEFT) || (_follow_target_position < FOLLOW_FROM_RIGHT)) {
|
||||
_follow_target_position = FOLLOW_FROM_BEHIND;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user