diff options
author | Don Gagne <don@thegagnes.com> | 2014-06-29 17:47:24 -0700 |
---|---|---|
committer | Don Gagne <don@thegagnes.com> | 2014-06-29 17:47:24 -0700 |
commit | 92adbe9216c96c53d1baa4eb1e14b4ede272c080 (patch) | |
tree | a5167e5c336b4f8fcb1550317c7e26da7bfedbfe /src/modules/commander/calibration_routines.cpp | |
parent | 28a31708f98eefa4ceb04617f2da3dd7892c99fa (diff) | |
download | px4-firmware-92adbe9216c96c53d1baa4eb1e14b4ede272c080.tar.gz px4-firmware-92adbe9216c96c53d1baa4eb1e14b4ede272c080.tar.bz2 px4-firmware-92adbe9216c96c53d1baa4eb1e14b4ede272c080.zip |
Fix compiler warnings
Diffstat (limited to 'src/modules/commander/calibration_routines.cpp')
-rw-r--r-- | src/modules/commander/calibration_routines.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/calibration_routines.cpp b/src/modules/commander/calibration_routines.cpp index be38ea104..9d79124e7 100644 --- a/src/modules/commander/calibration_routines.cpp +++ b/src/modules/commander/calibration_routines.cpp @@ -170,7 +170,7 @@ int sphere_fit_least_squares(const float x[], const float y[], const float z[], float aA, aB, aC, nA, nB, nC, dA, dB, dC; //Iterate N times, ignore stop condition. - int n = 0; + unsigned int n = 0; while (n < max_iterations) { n++; |