From faa85a2eba03acd3f57c90275319bcba96121084 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 25 Apr 2016 09:36:28 +0200 Subject: [PATCH] Battery: Add proper units --- src/modules/systemlib/battery_params.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/systemlib/battery_params.c b/src/modules/systemlib/battery_params.c index 9ed50bc4a6..5f31419a51 100644 --- a/src/modules/systemlib/battery_params.c +++ b/src/modules/systemlib/battery_params.c @@ -74,6 +74,7 @@ PARAM_DEFINE_FLOAT(BAT_V_CHARGED, 4.2f); * threshold. * * @group Battery Calibration + * @unit norm * @decimal 2 * @min 0.15 * @max 0.5 @@ -89,6 +90,7 @@ PARAM_DEFINE_FLOAT(BAT_LOW_THR, 0.18f); * the low threshold. This threshold commonly will trigger RTL or landing. * * @group Battery Calibration + * @unit norm * @decimal 2 * @min 0.05 * @max 0.14