commander: Shorten mag cal interval

This commit is contained in:
Lorenz Meier 2015-03-01 18:32:02 +01:00
parent f3b0b41a0d
commit 243d2bc454
1 changed files with 1 additions and 1 deletions

View File

@ -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;