mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 09:08:30 -04:00
AP_Terrain: add setter for terrain-enabled
Currently only useful for unit test
This commit is contained in:
parent
fc2338612e
commit
ddb7378bdd
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user