diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-08 18:01:04 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-08 18:01:04 +0200 |
commit | d068025fcda77d2d3b6e1f98c2cbf331229f8f6a (patch) | |
tree | de78b26160107436dfa980bb5cede6780bce1702 /apps | |
parent | 4c14e4f5f1c67ae0d139e4998058991a02fe4912 (diff) | |
download | px4-firmware-d068025fcda77d2d3b6e1f98c2cbf331229f8f6a.tar.gz px4-firmware-d068025fcda77d2d3b6e1f98c2cbf331229f8f6a.tar.bz2 px4-firmware-d068025fcda77d2d3b6e1f98c2cbf331229f8f6a.zip |
Fixed accel scale initialization
Diffstat (limited to 'apps')
-rw-r--r-- | apps/sensors/sensor_params.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/sensors/sensor_params.c b/apps/sensors/sensor_params.c index e6f2f7e76..52316993e 100644 --- a/apps/sensors/sensor_params.c +++ b/apps/sensors/sensor_params.c @@ -56,9 +56,9 @@ PARAM_DEFINE_FLOAT(SENS_ACC_XOFF, 0.0f); PARAM_DEFINE_FLOAT(SENS_ACC_YOFF, 0.0f); PARAM_DEFINE_FLOAT(SENS_ACC_ZOFF, 0.0f); -PARAM_DEFINE_FLOAT(SENS_ACC_XSCALE, 0.0f); -PARAM_DEFINE_FLOAT(SENS_ACC_YSCALE, 0.0f); -PARAM_DEFINE_FLOAT(SENS_ACC_ZSCALE, 0.0f); +PARAM_DEFINE_FLOAT(SENS_ACC_XSCALE, 1.0f); +PARAM_DEFINE_FLOAT(SENS_ACC_YSCALE, 1.0f); +PARAM_DEFINE_FLOAT(SENS_ACC_ZSCALE, 1.0f); PARAM_DEFINE_FLOAT(RC1_MIN, 1000.0f); PARAM_DEFINE_FLOAT(RC1_TRIM, 1500.0f); |