diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-15 07:54:12 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-07-15 07:54:12 +0200 |
commit | e91a4217ad23a0f5190b0e34b7621a5170632a43 (patch) | |
tree | 6333d63a832224507f625c9e0da69c75cef554c4 /src/modules/commander/airspeed_calibration.cpp | |
parent | 23fe3b64be085b3a756a754478931867c5c25049 (diff) | |
download | px4-firmware-e91a4217ad23a0f5190b0e34b7621a5170632a43.tar.gz px4-firmware-e91a4217ad23a0f5190b0e34b7621a5170632a43.tar.bz2 px4-firmware-e91a4217ad23a0f5190b0e34b7621a5170632a43.zip |
Fix warning
Diffstat (limited to 'src/modules/commander/airspeed_calibration.cpp')
-rw-r--r-- | src/modules/commander/airspeed_calibration.cpp | 2 |
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) { |