Browse Source

AP_Terrain: set param "Enable" to be FLAG_ENABLE

master
Tom Pittenger 9 years ago
parent
commit
28648665b9
  1. 2
      libraries/AP_Terrain/AP_Terrain.cpp

2
libraries/AP_Terrain/AP_Terrain.cpp

@ -40,7 +40,7 @@ const AP_Param::GroupInfo AP_Terrain::var_info[] = { @@ -40,7 +40,7 @@ const AP_Param::GroupInfo AP_Terrain::var_info[] = {
// @DisplayName: Terrain data enable
// @Description: enable terrain data. This enables the vehicle storing a database of terrain data on the SD card. The terrain data is requested from the ground station as needed, and stored for later use on the SD card. To be useful the ground station must support TERRAIN_REQUEST messages and have access to a terrain database, such as the SRTM database.
// @Values: 0:Disable,1:Enable
AP_GROUPINFO("ENABLE", 0, AP_Terrain, enable, 1),
AP_GROUPINFO_FLAGS("ENABLE", 0, AP_Terrain, enable, 1, AP_PARAM_FLAG_ENABLE),
// @Param: SPACING
// @DisplayName: Terrain grid spacing

Loading…
Cancel
Save