aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-07-15 10:35:26 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-07-15 10:35:26 +0200
commite162178f35cd1263abd2256ca0c8c7e4af7d2cfa (patch)
treebab9ce6880cb9e6ec2803a49615746ae5ce508db /src
parentd0cca02e97a24cf0b9554cf429bbd5716f947e4e (diff)
parente91a4217ad23a0f5190b0e34b7621a5170632a43 (diff)
downloadpx4-firmware-e162178f35cd1263abd2256ca0c8c7e4af7d2cfa.tar.gz
px4-firmware-e162178f35cd1263abd2256ca0c8c7e4af7d2cfa.tar.bz2
px4-firmware-e162178f35cd1263abd2256ca0c8c7e4af7d2cfa.zip
Merge remote-tracking branch 'upstream/master' into offboard2_externalsetpointmessages
Diffstat (limited to 'src')
-rw-r--r--src/modules/commander/airspeed_calibration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/airspeed_calibration.cpp b/src/modules/commander/airspeed_calibration.cpp
index 598cfe9e2..0e58c68b6 100644
--- a/src/modules/commander/airspeed_calibration.cpp
+++ b/src/modules/commander/airspeed_calibration.cpp
@@ -186,7 +186,7 @@ int do_airspeed_calibration(int mavlink_fd)
usleep(500 * 1000);
calibration_counter = 0;
- const int maxcount = 3000;
+ const unsigned maxcount = 3000;
/* just take a few samples and make sure pitot tubes are not reversed, timeout after ~30 seconds */
while (calibration_counter < maxcount) {