Skip to content

Commit

Permalink
fix compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
lovettchris committed May 20, 2017
1 parent 742ba54 commit f9b1421
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AirLib/include/controllers/DroneControllerCancelable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ class DroneControllerCancelable {
this->vy_max_ = vy_max;
this->z_min_ = z_min;
this->yaw_mode_ = yaw_mode;
this->drivetrain_ = drivetrain_;
this->duration_ = duration_;
this->drivetrain_ = drivetrain;
this->duration_ = duration;
}
virtual void executeImpl(DroneControllerBase* controller, CancelableBase& cancelable) override {
controller->moveByManual(vx_max_, vy_max_, z_min_, duration_, drivetrain_, yaw_mode_, cancelable);
Expand Down
2 changes: 1 addition & 1 deletion AirLib/src/controllers/MavLinkDroneController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ struct MavLinkDroneController::impl {

return parent_->waitForZ(max_wait_seconds, z, getDistanceAccuracy(), cancelable_action);
}

bool hover(CancelableBase& cancelable_action)
{
bool rc = false;
Expand Down

0 comments on commit f9b1421

Please sign in to comment.