diff options
author | Don Gagne <don@thegagnes.com> | 2014-07-06 16:51:06 -0700 |
---|---|---|
committer | Don Gagne <don@thegagnes.com> | 2014-07-06 16:51:06 -0700 |
commit | 2a79689224a381cf777c555d330f0a2aca8e3d9a (patch) | |
tree | cd896bc12d7db7c7eba5929d4576cbc920e782d0 /src/modules/fw_pos_control_l1/mtecs/mTecs.cpp | |
parent | d67089b23f58ac152253f58c5deaebbd57db0362 (diff) | |
download | px4-firmware-2a79689224a381cf777c555d330f0a2aca8e3d9a.tar.gz px4-firmware-2a79689224a381cf777c555d330f0a2aca8e3d9a.tar.bz2 px4-firmware-2a79689224a381cf777c555d330f0a2aca8e3d9a.zip |
Fix unused variable warnings
Diffstat (limited to 'src/modules/fw_pos_control_l1/mtecs/mTecs.cpp')
-rw-r--r-- | src/modules/fw_pos_control_l1/mtecs/mTecs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp index fc0a2551c..2e37d166e 100644 --- a/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp +++ b/src/modules/fw_pos_control_l1/mtecs/mTecs.cpp @@ -220,7 +220,7 @@ int mTecs::updateFlightPathAngleAcceleration(float flightPathAngle, float flight /* Apply overrride given by the limitOverride argument (this is used for limits which are not given by * parameters such as pitch limits with takeoff waypoints or throttle limits when the launchdetector * is running) */ - bool limitApplied = limitOverride.applyOverride(*outputLimiterThrottle, *outputLimiterPitch); + limitOverride.applyOverride(*outputLimiterThrottle, *outputLimiterPitch); /* Write part of the status message */ _status.flightPathAngleSp = flightPathAngleSp; |