From 28648665b9d5aa53695f2acdf0e1ddad7f9904d5 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Thu, 4 Aug 2016 11:31:37 -0700 Subject: [PATCH] AP_Terrain: set param "Enable" to be FLAG_ENABLE --- libraries/AP_Terrain/AP_Terrain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Terrain/AP_Terrain.cpp b/libraries/AP_Terrain/AP_Terrain.cpp index 47ad4a7330..dafeb934eb 100644 --- a/libraries/AP_Terrain/AP_Terrain.cpp +++ b/libraries/AP_Terrain/AP_Terrain.cpp @@ -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