summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-10-14 18:35:23 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-10-14 18:35:23 -0600
commitb5a37a3e45ac9faea285cc252e742c1c7267a6d7 (patch)
tree678ad7a3d43ff4bdbc9a5ba2bc280ad9dcfea2b6 /nuttx
parentc4bd33095126562d1f54c63187288d98bf2c4eec (diff)
downloadpx4-nuttx-b5a37a3e45ac9faea285cc252e742c1c7267a6d7.tar.gz
px4-nuttx-b5a37a3e45ac9faea285cc252e742c1c7267a6d7.tar.bz2
px4-nuttx-b5a37a3e45ac9faea285cc252e742c1c7267a6d7.zip
NxWM::CCalibration: Add logic to collect and average samples, optionally discarding the most extreem values
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/configs/sama5d3x-ek/nxwm/defconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/configs/sama5d3x-ek/nxwm/defconfig b/nuttx/configs/sama5d3x-ek/nxwm/defconfig
index 1ebca402d..98fb311c9 100644
--- a/nuttx/configs/sama5d3x-ek/nxwm/defconfig
+++ b/nuttx/configs/sama5d3x-ek/nxwm/defconfig
@@ -961,6 +961,9 @@ CONFIG_NXWM_CALIBRATION_MARGIN=80
CONFIG_NXWM_CALIBRATION_MESSAGES=y
CONFIG_NXWM_CALIBRATION_CUSTOM_FONTID=y
CONFIG_NXWM_CALIBRATION_FONTID=5
+CONFIG_NXWM_CALIBRATION_AVERAGE=y
+CONFIG_NXWM_CALIBRATION_NSAMPLES=4
+CONFIG_NXWM_CALIBRATION_DISCARD_MINMAX=y
# CONFIG_NXWM_CUSTOM_CALIBRATION_ICON is not set
CONFIG_NXWM_CALIBRATION_SIGNO=5
CONFIG_NXWM_CALIBRATION_LISTENERPRIO=100