From 3f51dd387c92e050a6152e62e81eddc96a6d736d Mon Sep 17 00:00:00 2001 From: Jacob Walser Date: Sun, 20 Aug 2017 13:40:27 -0400 Subject: [PATCH] Sub: Add @Units metadata to SURFACE_DEPTH parameter --- ArduSub/Parameters.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ArduSub/Parameters.cpp b/ArduSub/Parameters.cpp index e8fa60eb0a..3e9dbbbdaf 100644 --- a/ArduSub/Parameters.cpp +++ b/ArduSub/Parameters.cpp @@ -31,6 +31,7 @@ const AP_Param::Info Sub::var_info[] = { // @Param: SURFACE_DEPTH // @DisplayName: Depth reading at surface // @Description: The depth the external pressure sensor will read when the vehicle is considered at the surface (in centimeters) + // @Units: cm // @Range: -100 0 // @User: Standard GSCALAR(surface_depth, "SURFACE_DEPTH", SURFACE_DEPTH_DEFAULT),