forked from Archive/PX4-Autopilot
commander: Shorten mag cal interval
This commit is contained in:
parent
f3b0b41a0d
commit
243d2bc454
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue