AP_OSD: change AC_FENCE to AP_FENCE_ENABLED
This commit is contained in:
parent
380d174e32
commit
94004db13f
@ -276,7 +276,7 @@ private:
|
||||
void draw_current2(uint8_t x, uint8_t y);
|
||||
void draw_vtx_power(uint8_t x, uint8_t y);
|
||||
void draw_hgt_abvterr(uint8_t x, uint8_t y);
|
||||
#if AC_FENCE
|
||||
#if AP_FENCE_ENABLED
|
||||
void draw_fence(uint8_t x, uint8_t y);
|
||||
#endif
|
||||
void draw_rngf(uint8_t x, uint8_t y);
|
||||
|
@ -2124,7 +2124,7 @@ void AP_OSD_Screen::draw_hgt_abvterr(uint8_t x, uint8_t y)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if AC_FENCE
|
||||
#if AP_FENCE_ENABLED
|
||||
void AP_OSD_Screen::draw_fence(uint8_t x, uint8_t y)
|
||||
{
|
||||
AC_Fence *fenceptr = AP::fence();
|
||||
@ -2201,7 +2201,7 @@ void AP_OSD_Screen::draw(void)
|
||||
DRAW_SETTING(heading);
|
||||
DRAW_SETTING(wind);
|
||||
DRAW_SETTING(home);
|
||||
#if AC_FENCE
|
||||
#if AP_FENCE_ENABLED
|
||||
DRAW_SETTING(fence);
|
||||
#endif
|
||||
DRAW_SETTING(roll_angle);
|
||||
|
Loading…
Reference in New Issue
Block a user