diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-01 18:32:02 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-03-01 18:32:08 +0100 |
commit | 243d2bc4548a137a5fbd240ad47c5826f085d407 (patch) | |
tree | 7186cafc7238a74eb87c4486f206b20fdbd10acf /src/modules | |
parent | f3b0b41a0d3848c37b2533424b4501a84ef821ec (diff) | |
download | px4-firmware-243d2bc4548a137a5fbd240ad47c5826f085d407.tar.gz px4-firmware-243d2bc4548a137a5fbd240ad47c5826f085d407.tar.bz2 px4-firmware-243d2bc4548a137a5fbd240ad47c5826f085d407.zip |
commander: Shorten mag cal interval
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/commander/mag_calibration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/mag_calibration.cpp b/src/modules/commander/mag_calibration.cpp index a94b478c4..b633dc601 100644 --- a/src/modules/commander/mag_calibration.cpp +++ b/src/modules/commander/mag_calibration.cpp @@ -155,7 +155,7 @@ int do_mag_calibration(int mavlink_fd) int calibrate_instance(int mavlink_fd, unsigned s, unsigned device_id) { /* 45 seconds */ - uint64_t calibration_interval = 45 * 1000 * 1000; + uint64_t calibration_interval = 25 * 1000 * 1000; /* maximum 500 values */ const unsigned int calibration_maxcount = 240; |