AP_Terrain: set param "Enable" to be FLAG_ENABLE

This commit is contained in:
Tom Pittenger 2016-08-04 11:31:37 -07:00
parent ebe829614d
commit 28648665b9

View File

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