forked from ArduPilot/ardupilot
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AP_Follow: correct defaulting of AP_FOLLOW_ENABLED
and clarify a closing endif
- Loading branch information
1 parent
34ed4d1
commit cc18c82
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -539,4 +539,4 @@ AP_Follow &follow() | |
|
||
} | ||
|
||
#endif | ||
#endif // AP_FOLLOW_ENABLED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#pragma once | ||
|
||
#include <AP_HAL/AP_HAL_Boards.h> | ||
|
||
#ifndef AP_FOLLOW_ENABLED | ||
#define AP_FOLLOW_ENABLED 1 | ||
#endif |