diff --git a/libraries/AP_Terrain/AP_Terrain.h b/libraries/AP_Terrain/AP_Terrain.h index 4321afdd5d..a53dce5bab 100644 --- a/libraries/AP_Terrain/AP_Terrain.h +++ b/libraries/AP_Terrain/AP_Terrain.h @@ -103,6 +103,7 @@ public: void update(void); bool enabled() const { return enable; } + void set_enabled(bool _enable) { enable = _enable; } // return status enum for health reporting enum TerrainStatus status(void) const { return system_status; }