AP_Follow: correct defaulting of AP_FOLLOW_ENABLED

and clarify a closing endif
This commit is contained in:
Peter Barker 2023-12-08 12:55:58 +11:00 committed by Peter Barker
parent 34ed4d1202
commit cc18c82622
2 changed files with 3 additions and 1 deletions

View File

@ -539,4 +539,4 @@ AP_Follow &follow()
} }
#endif #endif // AP_FOLLOW_ENABLED

View File

@ -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