From 94aaf0d298467596e7c6e067e3252dc0f937b429 Mon Sep 17 00:00:00 2001 From: tumbili Date: Mon, 4 Apr 2016 11:17:26 +0200 Subject: [PATCH] increase sleep time in accel calibration routine to make accel calibration work on snapdragon --- src/modules/commander/calibration_routines.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/calibration_routines.cpp b/src/modules/commander/calibration_routines.cpp index f025fbc4e2..8562827c34 100644 --- a/src/modules/commander/calibration_routines.cpp +++ b/src/modules/commander/calibration_routines.cpp @@ -477,7 +477,7 @@ calibrate_return calibrate_from_orientation(orb_advert_t *mavlink_log_pub, mavlink_and_console_log_info(mavlink_log_pub, CAL_QGC_ORIENTATION_DETECTED_MSG, detect_orientation_str(orient)); // TODO FIXME: sleep here, so that QGC receives this with higher chance. - usleep(1000); + usleep(10000); orientation_failures = 0; // Call worker routine