mirror of https://github.com/ArduPilot/ardupilot
AP_Follow: correct defaulting of AP_FOLLOW_ENABLED
and clarify a closing endif
This commit is contained in:
parent
34ed4d1202
commit
cc18c82622
|
@ -539,4 +539,4 @@ AP_Follow &follow()
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // AP_FOLLOW_ENABLED
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <AP_HAL/AP_HAL_Boards.h>
|
||||||
|
|
||||||
#ifndef AP_FOLLOW_ENABLED
|
#ifndef AP_FOLLOW_ENABLED
|
||||||
#define AP_FOLLOW_ENABLED 1
|
#define AP_FOLLOW_ENABLED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue