AP_Terrain: add setter for terrain-enabled

Currently only useful for unit test
This commit is contained in:
Peter Barker 2021-07-09 13:22:11 +10:00 committed by Andrew Tridgell
parent fc2338612e
commit ddb7378bdd

View File

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