Skip to content

Commit

Permalink
AC_Fence: build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andyp1per committed Jan 13, 2024
1 parent e0675c8 commit 26a2f2d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libraries/AC_Fence/AC_Fence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -772,12 +772,13 @@ const AP_Param::GroupInfo AC_Fence::var_info[] = { AP_GROUPEND };

AC_Fence::AC_Fence() {};

uint8_t AC_Fence::enable(bool value, uint8_t fence_types) {};
uint8_t AC_Fence::enable(bool value, uint8_t fence_types) { return 0; }

void AC_Fence::disable_floor() {};
void AC_Fence::enable_floor() {}
void AC_Fence::disable_floor() {}

void AC_Fence::auto_enable_fence_after_takeoff() {};
void AC_Fence::auto_disable_fence_for_landing() {};
void AC_Fence::auto_enable_fence_after_takeoff() {}
void AC_Fence::auto_disable_fence_for_landing() {}

uint8_t AC_Fence::present() const { return 0; }

Expand Down

0 comments on commit 26a2f2d

Please sign in to comment.